The NSRegularExpression class is used to represent and apply regular expressions to Unicode strings.
I need to capture multiple groups of the same pattern. Suppose, I have a following string: HELLO,THERE,WORLD And …
regex swift nsregularexpression regex-greedy regex-groupI have this regex working when I test it in PHP but it doesn't work in Objective C: (?:www\.)?((?!-)[…
objective-c ios regex nsregularexpressionI have to detect whether a string contains any special characters. How can I check it? Does Swift support regular …
ios iphone regex swift nsregularexpressionThe regex should match valid dates in a string in the format YYYYMMDD. For example, aaa_20150327_bbb should be matched …
regex date nsregularexpression leap-yearWhy is this code only spitting out the entire regex match instead of the capture group? Input @"A long string …
objective-c regex ios nsregularexpression capture-groupEmail validation checking in iPhone programming can be done using RegexKitLite library (iOS2.0), NSPredicate (iOS 3.0 onwards) and NSRegularExpression (iOS 4.0). But …
ios validation email nspredicate nsregularexpressionI'm using the following code on my iPhone app, taken from here to extract all URLs from striped .html code. …
objective-c regex nsstring nsarray nsregularexpressionI've got a form and what I'm trying to do is validate email addresses before they're inserted into my database. …
ios regex ios6 nsregularexpressionI'm getting a weird warning, and as a result my regex search isn't working. Here's the line: NSRange r = [HTML …
objective-c ios regex nsregularexpressionI am going to need to replace a dirty string for a clean string: -(void)setTheFilter:(NSString*)filter { [filter …
ios regex nsregularexpression