Regular Expressions 101

Library entries

URL parser also with shorthand syntax

Vote

1

Regular Expression
python

"
([a-zA-Z]+\://)?([a-zA-Z0-9\-\.]*\.+[a-zA-Z]*)(:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|5\d{4}|[0-9]\d{0,3}))?(/([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~]*)[^\.\,\)\(\s]?)?
"
g

Description

Loading markdown...
Submitted by fine_dust - 6 years ago