You can use RegexTester to test a NSPredicated-based regex against a string. http://www.stiefels.net/projects/regextester