Regular Expressions 101

Sponsors

Library entries

0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 19 hours ago
0
javascript

Match HTML tag with specific attributes

1
Submitted by anonymous - 6 days ago
0
javascript

Company name

Company name
Submitted by anonymous - 7 days ago
0
golang

domain

ss
Submitted by sssssss - 9 days ago
0
python

Aurora SMS Log Parser

For personal use in my project.
Submitted by sn3kdev - 9 days ago
0
python

hyperlinks

collect information from web links
Submitted by anonymous - 10 days ago
0
python

Find ytdlp downloaded file path

For internal use
Submitted by ezalos - 11 days ago
0
python

XML file extract from logs

For internal use
Submitted by ezalos - 11 days ago
0
golang

Semver split

"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by Icaruk - 11 days ago
0
javascript

Match Emojis

Match all emojis using unicode
Submitted by Sagar Panchal - 11 days ago

Email (RFC2822)

Vote

15

Regular Expression
javascript

/
^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$
/

Description

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