Regular Expressions 101

Library entries

Strip html tags

Vote

0

Regular Expression
python

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

Description

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