in reply to Phone Number Regular Expression

My 2 cents.
/800\-555\-^9{4}/
Update
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.

-InjunJoel

"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

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