It seems to work :) Do you see anythign wrong with that??if ( $conphone =~ /(\d{3})-(\d{3})-(\d{4})/ ) { print "Phone: $conphone<br />\n"; } else { print "BAD PHONE!!!! BAD PHONE!!!!<br />\n"; }
In reply to Re: Re: Another LostS Question - Phone Number Checks
by LostS
in thread Another LostS Question - Phone Number Checks
by LostS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |