
January 14th, 2009, 07:52 AM
|
|
Up To No Good!
|
|
Join Date: Jan 2001
Posts: 78
Time spent in forums: 8 h 2 m 49 sec
Reputation Power: 13
|
|
|
Match all phone numbers BUT the ones with 555 in them...
Ok, I just spent 2 hours looking into manuals, examples, etc and still can't figure this one out... (call me slow, but it's taking me too long to figure something like this out, it's frustrating me now!)
How do I match all phone numbers that don't use the fake 555-something number in them (so all numbers but xxx-555-xxxx will pass).
I've got this so far:
Code:
^\d{3}-\d{3}-\d{4}$
but how do I add that 555 condition in there?
Thanks in advance!
|