Regular Expressions 101

Community Patterns

1...34567...901

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