Regular Expressions 101

Sponsors

Library entries

-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - a day ago
0
dotnet

Script Tag Json

asd
Submitted by anonymous - 10 months ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - 10 months ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 9 months ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 7 months ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 7 months ago
0
dotnet

Nepali phone number regex

(\+977)?9\d{8}
Submitted by anonymous - 7 months ago
0
dotnet

Guid parser

Guid parser
Submitted by anonymous - 7 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 - 6 months ago