Regular Expressions 101

Library entries

HTML <script> regex

Vote

-2

Regular Expression
pcre

/
<\s*?script\s*?([^>]*)\s*?>\s*?(.+)?\s*?<\s*?\/script\s*?>
/
gUs

Description

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