Skip to content

Instantly share code, notes, and snippets.

@giuliocomi
Created August 13, 2019 13:29
Show Gist options
  • Save giuliocomi/f89a590ac7ebf9830a5c55f5df8a71b0 to your computer and use it in GitHub Desktop.
Save giuliocomi/f89a590ac7ebf9830a5c55f5df8a71b0 to your computer and use it in GitHub Desktop.
test
<script>
var str = document.getElementsByTagName('body')[0].toString()
alert(str.match(/\[\[.*\]\]/ig));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment