The discussions of Recognizing numbers and creating links and Pull 3-digit and 4-digit numbers from string may offer insight. They are concerned with avoiding phone numbers, but you have to recognize a phone number in order to avoid it, and that's what you're trying to do.
Give a man a fish: <%-{-{-{-<
In reply to Re: Regex for extracting phone numbers from string
by AnomalousMonk
in thread Regex for extracting phone numbers from string
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |