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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^\d{5}(-\d{4})?$
Description
Matches standard 5 digit US Zip Codes, or the US ZIP + 4 Standard.
Matches
48222 | 48222-1746
Non-Matches
4632 | Blake | 37333-32
Author Rating: The rating for this expression. Blake Facey
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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