Regular Expressions 101

Sponsors

Library entries

2
javascript

汉字匹配

no description available
Submitted by anonymous - 6 years ago
2
javascript

validate german zip codes

no description available
Submitted by dopa0002 - 6 years ago
2
javascript

Extract domain from URL

Extract the domain out of an url
Submitted by anubhava - 6 years ago
2
javascript

Palindrome

Captures a palindrome of 9 digits or less
Submitted by anonymous - 6 years ago
2
javascript

foder add prefix

auto prefix ("/") to folder
Submitted by anonymous - 6 years ago

us postal/zip

Vote

13

Regular Expression
javascript

/
(^[0-9]{4}?[0-9]$|^[0-9]{4}?[0-9]-[0-9]{4}$)
/
gm

Description

Loading markdown...
Submitted by jay johnson - 9 years ago