Regex Hero | The .NET Regular Expression Tester
/
.NET Regex Library
Zip Code (Postal Code Optional)
1
^\d{5}(?:\-\d{4})?$
Matches a 5-digit zip code with or without the optional 4-digit postal code.
Steve Wortham
04/15/2010 18:08:33
0 comments so far.
Preview
<< back to
Library
Regex Hero
.NET Regex Tester
Reference
Library
Videos
Support