Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-07-24 01:29
Flavor·PCRE (Legacy)

/
^(https?:\/\/)?([\da-z-]+\.)+([a-z]{2,6})?(\/([a-z0-9+\$_-]\.?)+)*\/?$
/
Open regex in editor

Description

this is the most perfect pattern I reach for url with query or anchor

Submitted by Gehad Mohamed