Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<([A-Za-z_{}()/]+(\s|=)*)+>(.*<[A-Za-z/>]+)*
/
gi

Description

Checks for strings that could possibly be a tag with malicious content

Submitted by C.W. Joosse - 8 years ago