/ Published in: Objective C
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 predicateWithFormat:@"SELF MATCHES %@", regex]; if ([regextest evaluateWithObject:mystring] == YES) { NSLog(@"Match!"); } else { NSLog(@"No match!"); }
URL: http://www.stiefels.net/2007/01/24/regular-expressions-for-nsstring/
Comments
                    Subscribe to comments
                
                