On Thu, Dec 30, 2010 at 14:07, Ethan Rosenberg <[email protected]> wrote:
>
> Josh -
>
> I used use \d{3}-\d{3}-\d{4}.
>
> It works beautifully!!
Just keep in mind that invalid numbers will also pass that check,
such as 000-000-0000 or 123-456-6789. That's why my example was a bit
more involved.
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php