Regular Expressions 101

Sponsors

Library entries

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
1
javascript

Check if number is a float

no description available
Submitted by @hiaru - 8 years ago
1
python

regex for redirect

no description available
Submitted by igor - 8 years ago
1
javascript

very basic email regex

no description available
Submitted by anonymous - 8 years ago
1
python

URL parser

gets the ://:/ from am url
Submitted by anonymous - 8 years ago
1
python

Find exeptions in log4j

regex to consider exceptions in log4j
Submitted by anonymous - 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