I want to check if a string contains a specific regular expression.
// String literal let s = "Hello World" // Check if it contains one or more 'l's if s.rangeOfString("l+", options: .RegularExpressionSearch) != nil { print("Yes it does") }
* Please let us know about anything: issues/feature request/suggestions......And we'll do our best to get back to you asap! :)
Or just post your issue on iSwift's Official Issue Tracker