Regular Expressions 101

Sponsors

Library entries

1
javascript

Parser

Need everything inside this as separate variable :)
Submitted by anonymous - 8 years ago
1
python

MySQLcase

make sure mysql tables have the correct form
Submitted by d - 8 years ago
7
javascript

Match text (not within html tag)

no description available
Submitted by Moistly - 8 years ago
0
python

test

test
Submitted by boag - 8 years ago
3
python

phone

matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by miqui - 8 years ago
1
python

States

States (US) 2 char format, matches: Ga or GA
Submitted by miqui - 8 years ago

Simple Email Validation

Vote

1

Regular Expression
javascript

/
(?:[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
/
mg

Description

Loading markdown...
Submitted by anonymous - 8 years ago