It's finding a line without any numbers in it. Like I said in my reply to graff, I didn't check the input to see if it matched a phone number.
The sprintf is creating a string that is a minimum of ten digits long and that is zero padded if the number is less than ten digits. "123.231.343.343" would become "123-231-343343" in the end.
In reply to Re: Re: Re: phone number regex
by Mr. Muskrat
in thread phone number regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |