I'm a Regex noob and need to figure out the Regex for a
phone number
with an extension. The client wants it formatted very
specifically,
like this:
800.123.4567 ext.456
The phone number will always be 3 digits, then a period,
then 3
digits, another period, then 4 digits. The phone number
should be
followed by a space, then "ext" then a period,
then a series of
numbers, maybe 1-6 digits long.
How can I make this happen?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|