Regular Expressions 101

Sponsors

Library entries

2
pcre

URL extractor

Extract parts of an URL.
Submitted by Gilles Marchand - 7 years ago
2
pcre

multiple sql like expressions

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

Delete Blank Lines

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

Email combo to username combo

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

negative lookahead

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

URL MATCH

URL MATCH
Submitted by activesatan - 7 years ago
2
pcre

check name

no description available
Submitted by anonymous - 6 years ago
2
pcre

NSU ID Card Checker

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