RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
(^\d{5}$)|(^\d{5}-\d{4}$)
Description
I know its probaly in the library, but i did not see it. US zip pattern 5 digits 01234 or 5 digits + 4 01234-1234
Matches
12345 | 12345-6789 | 01234
Non-Matches
1A234 | 12345-aaaa | 12345 1234
Author Rating: Not yet rated. Jay Solomon
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials