Feb 12, 2002, 12:02 PM
Uh oh. Houston, we have a problem.
Re: [unknownSym] Phone Number Input Fix Golf
Given input with non-digit characters in between digit groups, it doesn't function properly:
Becuase that \D* is matching "0 or more characters that are not-digits" So when it reaches the first digit, it has satisfied the match.
Solution: Take away the * and add the repitition modifier:
Voila! But the credit still goes to Sym
(This post was edited by Coderifous on Feb 12, 2002, 12:03 PM)