Regular Expressions 101

Library entries

Removes script tags

Vote

2

Regular Expression
javascript

/
<[ ]*(\/)?(.*)?script([ ]+.*|[^\w]*)>
/
gi

Description

Loading markdown...
Submitted by ghs - 6 years ago