Swift search string for any number? <p>I'm trying to get my app to identify dates. I have an array of strings that it searches through. I'm using rangeOfString() to search for a "/", which is in the dates. However, some areas in the strings have backslashes that aren't part of dates, and that messes up the search. Can I get it to search for a backslash immediately followed by a number. In PHP, it would be preg_match("///[0-9]/"), but how is it done with Swift?</p>