Regular Expressions 101

Sponsors

Library entries

0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 5 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 8 days ago
0
javascript

sql inj

as
Submitted by anonymous - 9 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 9 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 9 days ago
1
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 11 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 12 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 - 4 months ago