Regular Expressions 101

Sponsors

Library entries

10
javascript

Full url parse, domain, path, params

no description available
Submitted by anonymous - 7 years ago
8
javascript

UUID

no description available
Submitted by anonymous - 8 years ago
8
javascript

simple email

no description available
Submitted by anonymous - 7 years ago
8
javascript

money: either 0 or 2 dp

no description available
Submitted by anonymous - 7 years ago
7
javascript

Match text (not within html tag)

no description available
Submitted by Moistly - 7 years ago
7
javascript

Date and time format - ISO 8601

Matches ISO 8601 date formats
Submitted by Ettienne - 7 years ago
6
javascript

Password

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

Email with + symbol

email that accepts the plus (+) symbol
Submitted by luckcheese - 7 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