Regular Expressions 101

Sponsors

Library entries

0
javascript

js获取url上的参数

/(+)=(+)/gm
Submitted by anonymous - 20 hours ago
1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 5 days ago
0
javascript

cuts amazon url

with a url of aws cuts the url
Submitted by d3w3r - 9 days ago
0
python

foengz1

htmltag
Submitted by Foengz - 10 days ago
0
javascript

regex text inside html tag

regex
Submitted by anonymous - 11 days ago
0
javascript

NPM Module ID

Match import
Submitted by anonymous - 12 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 13 days ago
0
javascript

Parse Rx DataMatrix

Parse Rx DataMatrix
Submitted by hoangitk - 14 days ago

Email input validation

Vote

0

Regular Expression
javascript

/
^(?=^[\w.@!#$%&'*+/=?^`{|}~-]{7,254}$)(?<username>(?=^[\w.!#$%&'*+/=?^`{|}~-]{1,64}@)[\w!#$%&'*+/=?^`{|}~-]+(?:\.[\w!#$%&'*+/=?^`{|}~-]+)*)@(?<domain>(?=\b[a-z\d.-]{5,252}$)(?:[a-z\d](?:[a-z\d-]{0,61}[a-z\d])\.)+(?:(?:[a-z](?:[a-z-]{0,61}[a-z]))|(?:(?=[a-z\d-]*?[a-z])(?=[a-z\d-]*?[\d])[a-z\d](?:[a-z\d-]{0,61}[a-z\d]))))$
/
gi

Description

Loading markdown...
Submitted by chCharly - a month ago