标签: ios iphone regex xcode nsregularexpression
这是我的目标。 我想在我的项目中搜索所有setBackgroundImage调用,并将其替换为
setBackgroundImage
[button setBackgroundColor:fixedColor];
问题出在setBackgroundImage之后:图像名称在不同的地方有所不同。所以我无法一气呵成。
是否有可用于查找和替换的正则表达式?