RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
<script[\s\S]*?</script([\s\S]*?)>
Description
This pattern is intended to remove all javascript blocks from a chunk of code. EDIT: a bug is cutting off additional matches.
Matches
<script language="Javascript"><!-- alert(); --></script>
Non-Matches
<script>
Author Rating: Not yet rated. Mike Frey
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials