Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Phone Number Regular Expression

by injunjoel (Priest)
on Mar 16, 2006 at 17:02 UTC ( #537213=note: print w/ replies, xml ) Need Help??

in reply to Phone Number Regular Expression

My 2 cents.
The above didn't fully meet the requirements thanks zer for pointing that out.
I would suggest using Roy_Johnson's approach as others have suggested.


"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo

Comment on Re: Phone Number Regular Expression
Replies are listed 'Best First'.
Re^2: Phone Number Regular Expression
by zer (Deacon) on Mar 16, 2006 at 17:11 UTC
    oh you got me thanks

    Roy Johnson's example works how it is supposed to.

    injunjoel 800-555-9888 doesnt work properly on your example

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://537213]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-11-29 13:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls