Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
<(?<first>[^>]+)>.*?<\/(\k<first>)>
/
g

Description

This regex target each html tag with their children and their value

Submitted by Florian Caron - 3 years ago