Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<(\"[^\"]*\"|'[^']*'|[^'\">])*>
/
gi

Description

validate html tags should have end tags, closing single, double quotes

Submitted by Remo - 7 years ago