If you had no separators, the regex would look like
/98189(0|1)\d{10}/
Do you have the option to remove the separators first?
s/[\s-:,]//g;
Probably not worth it if your initial regex works satisfactorily.
In reply to Re: Regex Help
by hdb
in thread Regex Help
by gautamparimoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |