Regular Expressions 101

Sponsors

Library entries

0
pcre2

Hardware ID

Checks whether the input is a hardware ID
Submitted by Justman10000 - 2 hours ago
0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 20 hours ago
0
java

Kyivstar phone number

Kyivstar phone number
Submitted by milka_vlad - a day ago
0
pcre2

MD highlight remover

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

MD higlighter

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

perga

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

Match markdown order and unorder list

Same as title
Submitted by anonymous - 4 days ago
0
java

tas-branch-validation

tas-branch-validation
Submitted by doron-hafner - 5 days ago
0
pcre2

CSS Class Styles

Regex to find CSS Class Styles
Submitted by JR - 6 days ago
0
javascript

Match HTML tag with specific attributes

1
Submitted by anonymous - 6 days ago

email

Vote

-4

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])+)\])
/

Description

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