Regular Expressions 101

Sponsors

Library entries

-1
javascript

Email

validation email
Submitted by anonymous - 2 months ago
0
javascript

Add Decimals

Format numbers with decimals
Submitted by anonymous - 2 months ago
0
javascript

SDH Subtitle Replace

SDH Subtitle Replace
Submitted by anonymous - 2 months ago
0
javascript

decode

.decode > decode_p2
Submitted by anonymous - 2 months 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