Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

4

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by guyfawkes - 10 years ago