Tuesday, August 23, 2011

Xcode4 - Regular Expression Find / Replace

Quick one....

In Xcode4 if you want to perform a 'regular expression' Find (and Replace) but have no idea how, this is what you should do:

  • Just hit ⌘F (within file) or ⇧⌘F (all files)
  • Click on the magnifying glass and Show Find Options
  • Change the Style to Regular Expression
  • Go nuts with your Regular Expressions :-)

No comments:

Post a Comment