Regular Expressions 101

Community Patterns

the best regex

1

Regular Expression
PCRE (PHP <7.3)

/
((?:http(?:s)?:\/\/)?\S+\.\S+\.\S+) | ((?:[0-9]{1,3}\.){3}[0-9]{1,3})
/

Description

no description available

Submitted by anonymous - 8 years ago