Regular Expressions 101

Sponsors

Library entries

US Zip Code

Vote

2

Regular Expression
javascript

/
^(\d{5})(?:-?(\d{4}))?$
/

Description

Loading markdown...
Submitted by anonymous - 7 years ago