Regular Expressions 101

Community Patterns

1...45678...901

Community Library Entry

8

Regular Expression
Python

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

Description

This is simplified from my last submission.

Submitted by Dale O'Brien - 11 years ago