Regular Expressions 101

Sponsors

Library entries

1
pcre

zypper

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

posix

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

German ZIP Validation

Validates German ZIP codes
Submitted by wehmoen - 7 years ago
2
pcre

Filtrar inicio string

Filtrar inicio da string por BRN ou 201
Submitted by Leandro - 7 years ago
0
pcre

trim IP

find leading zeros in ipv4 adresses
Submitted by anonymous - 7 years ago
1
pcre

phone number

accept number , space, . and -
Submitted by sylvain - 7 years ago
0
pcre

Matches dash-seperated terms in.

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

Valid date ddMMyyyy + .zip extension

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

images url match in text

no description available
Submitted by Redfern.89 - 7 years ago
1
pcre

magic URL regex

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

Check syntax port ACL VNG

no description available
Submitted by nguyenvq - 7 years ago
2
pcre

csv parsing

csv parsing with content quota string
Submitted by Andrey - 7 years ago

Capture only top-level (root) domain in URL

Vote

3

Regular Expression
pcre

/
^(?:(?:http[s]?|ftp):\/)?\/?(?:[^:\/\s]+?\.)*([^:\/\s]+\.[^:\/\s]+)
/

Description

Loading markdown...
Submitted by guyfawkes - 7 years ago