I'm using a regular expression (below) to check phone numbers. I'm getting an error that I can't make sense of.
$regex = "^((\(\d{3}(\) -))?*\d{3}(- )\d{4},?*)+$"; Output I'm getting = Warning: REG_BADRPT in /home/basemen/public_html/verify_order.php on line 28 Anyone know what this means? I know it's not bitching about the phone number, it's bitching about the expression. But why? Some thing wrong with the expression? It works fine in PERL, which this is supposed to be compatible with. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php