Regular Expressions 101

Sponsors

Library entries

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
3
pcre2

Email

email format control
Submitted by ahmetbarut - a year ago
3
pcre2

example

example
Submitted by anonymous - a year ago
3
javascript

mm/dd/yyyy Date

no description available
Submitted by jay johnson - 8 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 - 8 years ago