since regular exressions are not supported in Cocoa I find RegexKitLite very usefull. But all examples extract matching strings.
I just want to test if a string matches
NSRegularExpression is another option:
http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSRegularExpression_Class/Reference/Reference.html