正则表达式

一,Xcode 使用正则表达式进行替换

presentModalViewController:(.*) animated:(.*)

createLeftBarButtonItemWithFrame:(.*) withImage:——>createLeftBarButtonItemWithImage:

二:中文字符串匹配

@"[^"]*[u4E00-u9FA5]+[^" ]*?"

原文地址:https://www.cnblogs.com/developer-qin/p/7210319.html