=~ tr/,//d;
This would remove any commas in the string before you attempt a match. Then your match could be:
HTH,=~ /AltaVista found /(\d+)/ results/;
Chris
In reply to Re: Regex to match string with numbers with possible comma
by Anonymous Monk
in thread Regex to match string with numbers with possible comma
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |