Regular Expressions 101

Library entries

Parse a HTML URL

Vote

1

Regular Expression
python

"
^(http[s]?:\/\/)?([^:\/\s]+)(:([^\/]*))?(\/\w+\.)*([^#?\s]+)(\?([^#]*))?(#(.*))?$
"
i

Description

Loading markdown...
Submitted by Dale O'Brien - 7 years ago