Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-03-10 11:31
Flavor·ECMAScript (JavaScript)

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

Description

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

Submitted by C.W. Joosse