Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regular Expression Help
Message
From
09/03/2009 09:47:39
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01386592
Message ID:
01386609
Views:
32
Excellent. Thank you!

>Shorter one
>
>"^\d{5}(-|-\d{4})?$"
>
>
>>Nice catch, Sergey. Thank you!
>>
>>>Mike,
>>>
>>>Your pattern allows "90210--1234". Try
>>>
>>>"^\d{5}(-?|(-\d{4}))?$"
>>>
>>>
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform