Created
March 16, 2015 14:37
-
-
Save mientjan/d3bd1c3fd80a9112fb54 to your computer and use it in GitHub Desktop.
RegEx: find all script tags with cdata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var r = /\<script[\w\s\W]+?(\[CDATA\[)([\w\s\W]+?)(\]\]\>([\w\n]|)\<\/script\>)/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment