Regular Expressions 101

Community Patterns

regex to match absolute urls

1

Regular Expression
Python

r"
((?:https?:)?\/\/(?:[\w]+[.][\w]+)+/?)+$
"
gm

Description

no description available

Submitted by maq - 8 years ago