One of the big issues with regular expressions is the slight differences between the various regular expression engines.
This can make it extremely tedious when creating regular expressions as one regular expression may work fine on one platform, but on another platform have inexplicable errors.
Here’s a tool called NSRegexTester by Aaron Vegh that provides an easy way to test regular expressions using the ICU regular expression engine (the same used by Apple) so when you plug in your regular expressions into NSRegularExpression they actually work.
Here’s an image showing the tool in action:
You can download the source for the NSRegexTester tool on Github here.
You can read more about the tool on Aaron’s blog here.
A great help for avoiding the frustration with building regular expressions that end up not working.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.