Regular Expressions 101

Library entries

<a href="()"/> domain name

Vote

0

Regular Expression
python

"""
<a.*href.?=.?["'](?:\b\w+://)?([\w-]+(?:\.[\w-]+)+)[/:?]?.*?["'].*?>?(?:</)?.?>
"""
g

Description

Loading markdown...
Submitted by anonymous - 4 years ago