Regular Expressions 101

Sponsors

Library entries

0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 12 days ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 24 days ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 25 days ago
0
dotnet

custom email

custom email
Submitted by anonymous - a month ago
0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - a month ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - a month ago
0
dotnet

Username regex

Matches alphanumeric, @, . , -
Submitted by Ethan Pedersen - a month ago
0
dotnet

Guid parser

Guid parser
Submitted by anonymous - 3 months ago
0
dotnet

Nepali phone number regex

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

URL Validation JS

Vote

0

Regular Expression
javascript

/
^(?:ftp|https?):\/\/(?!0\.0\.0\.0$)(?:(?:(?:1?\d\d?|2[0-4]\d|25[0-5])(?:\.(?!$))?){4}|(?:[a-zA-Z\d]\.|[a-zA-Z\d](?:(?![-.]{2})[a-zA-Z\d-]){0,63}?[a-zA-Z\d]\.){1,63}?[a-z]{2,63})(?:[:/].*)?$
/
gm

Description

Loading markdown...
Submitted by Artur - 3 months ago