Regular Expressions 101

Sponsors

Library entries

7
javascript

Date and time format - ISO 8601

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

UUID

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

money: either 0 or 2 dp

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

Full url parse, domain, path, params

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

Username with "_" "-"

no description available
Submitted by Gianvy - 7 years ago
12
javascript

US Currency Format

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

us postal/zip

no description available
Submitted by jay johnson - 8 years ago
14
javascript

Email (RFC2822)

Email address compliant with RFC2822
Submitted by Jago - 7 years ago
15
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 8 years ago
16
javascript

http url regex

general purpose HTTP URL regex
Submitted by Miguel Castillo @manchagnu - 7 years ago

trim

Vote

103

Regular Expression
javascript

/
^[\s]*(.*?)[\s]*$
/

Description

Loading markdown...
Submitted by fp - 9 years ago