Regular Expressions 101

Sponsors

Library entries

0
pcre2

find supertype of

for express
Submitted by anonymous - 16 hours ago
0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - a day ago
0
pcre2

MD highlight remover

Remove highlights from md files
Submitted by anonymous - 3 days ago
0
pcre2

MD higlighter

Mark words to auto-higlight
Submitted by anonymous - 3 days ago
0
pcre2

perga

regex to find total payment
Submitted by anonymous - 5 days ago
0
pcre2

Match markdown order and unorder list

Same as title
Submitted by anonymous - 5 days ago
0
pcre2

CSS Class Styles

Regex to find CSS Class Styles
Submitted by JR - 7 days ago

Cross-Platform Simple Email Validator

Vote

1

Regular Expression
pcre

/
(?:[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])+)\])
/
igm

Description

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