Last active
February 13, 2018 17:38
-
-
Save peteristhegreat/6fedc295cc0b31f1c597f774ed556f3e to your computer and use it in GitHub Desktop.
Match crazy hacky script tags
This file contains hidden or 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 regex = /<\s*[s-][c-][r-][i-][p-][t-][\s/+]*(\w+=[^>\s]+)?\s*>.*?<\/\s*[s-][c-][r-][i-][p-][t-]\s*>/i; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment