Regular Expressions 101

Sponsors

Library entries

0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 3 months ago
0
dotnet

custom email

custom email
Submitted by anonymous - 3 months ago
0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - 4 months ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - 4 months ago
0
dotnet

Username regex

Matches alphanumeric, @, . , -
Submitted by Ethan Pedersen - 4 months ago
0
dotnet

Guid parser

Guid parser
Submitted by anonymous - 5 months ago
0
dotnet

Nepali phone number regex

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

No leading or trailing spaces

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

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 5 months ago

dsf

Vote

1

Regular Expression
javascript

/
^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
/

Description

Loading markdown...
Submitted by fdsfdsfdsf - 9 years ago