Regular Expressions 101

Library entries

URL

Vote

0

Regular Expression
pcre

/
^(?!\.)(?!.*?\.\.)(http(s)?:\/\/)(([0-9a-zA-Z-]+\.)+([a-zA-Z]{2,})(?:\/)?(:[0-9]+)?((\/([a-zA-Z0-9\-\.~:\/%^*?#[\]@!\$&'\(\)\*\+,;=.]+))?(\?[0-9a-zA-Z\.\+\%@\/&\[\];=_-]+)?)?)$
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago