Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?:<(strong|em|a|div|span)[^>]*?>(?P<txt>.*?)<\/\1>|<(hr|img)[^>]*?\/>)
"
g

Description

no description available

Submitted by anonymous - 7 years ago