Regular Expressions 101

Community Patterns

Validate html end tags with single quotes

0

Regular Expression
ECMAScript (JavaScript)

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

Description

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

Submitted by Remo - 6 years ago