Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago
33
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 7 years ago
30
javascript

Email address (most used)

Email address, most used cases
Submitted by Jago - 7 years ago
16
javascript

http url regex

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

Hashtag

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

Email (RFC2822)

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

us postal/zip

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

Username with "_" "-"

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

US Currency Format

no description available
Submitted by anonymous - 6 years ago

Credit Card Expiry Date

Vote

12

Regular Expression
javascript

/
^(0[1-9]|1[0-2])(\/|-)([0-9]{4})$
/
gm

Description

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