Regular Expressions 101

Community Patterns

HTML TAG Matcher

0

Regular Expression
Python

r"
</?[\w]+([\s|\w]+\=\"[\s|\w|\.|\@|\%|\:|\/]*\")*>
"
gm

Description

Match any HTML tags.

Submitted by anonymous - 5 years ago