Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(https?|ftp)\:\/\/+([www]){3}\.([a-z0-9.])+\.([a-z]){2,3}$
/

Description

validate from url with good regx

Submitted by mohamed nabil hussien - 8 years ago