Regular Expressions 101

Sponsors

Library entries

1
pcre

URL parser RegEx

Parse full URL and find parts
Submitted by Dakr Coder - 7 years ago
1
javascript

huj

no description available
Submitted by anonymous - 7 years ago
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

URL supporting ports, GET params and js routing

Vote

1

Regular Expression
pcre

/
^(http(s)?:\/\/)(([a-zA-Z0-9_\-])+(\.([a-zA-Z0-9_\-])+)+(:[1-9]+[0-9]*)?)(\/?|((\/(#?[a-zA-Z_\-\.])+)*)(\/?|\?([a-z]+\=([a-z]+|[a-z]+,[a-z]+)*&)*([a-z]+\=([a-z]+|[a-z]+,[a-z]+)*)\/?))$
/

Description

Loading markdown...
Submitted by Rafał Rowiński - 7 years ago