Regular Expressions 101

Sponsors

Library entries

0
pcre

$ en anglais ($xx.xx)

$ en anglais ($xx.xx)
Submitted by EA - 7 years ago
3
pcre

Nombres 4 chiffres

Nombres 4 chifres
Submitted by EA - 7 years ago
1
pcre

Site (Régis)

Site Régis
Submitted by EA - 7 years ago
1
pcre

Site FR

Site FR, pour trouver la version correcte.
Submitted by EA - 7 years ago
0
javascript

3 digit number between 82-104

no description available
Submitted by anonymous - 7 years ago
1
pcre

noted xanbot

no description available
Submitted by NotedBinkie - 7 years ago
1
pcre

hex string

match 00aabbcc... or 00:aa:bb:cc...
Submitted by minji - 7 years ago
1
pcre

java

no description available
Submitted by anonymous - 7 years ago
1
pcre

reddit test match

just a test match
Submitted by anonymous - 7 years ago
1
pcre

cpc=ordinary

no description available
Submitted by anonymous - 7 years ago
1
javascript

Persian Alphabet Characters

The Pesian Alphabet Chhars
Submitted by Saeed Tabrizi - 7 years ago
1
javascript

MASSA$%^&*)(*

no description available
Submitted by anonymous - 7 years ago

URL Regex (protocol strict)

Vote

3

Regular Expression
javascript

/
^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$
/
i

Description

Loading markdown...
Submitted by Diego Perini - 7 years ago