Then $1 dictates the extention type. But im not sure how this works in the context of $largeStr containing a more than 1 telephone number. How can I find the frequency of the 10 extention types in $largeStr$largeStr =~ /Tel: 06(\d+)/;
In reply to Regex: plucking numbers from a large string by Baz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |