Last active
January 27, 2022 11:43
-
-
Save Patrick64/a201b1c9778fafae398fa4932f7470c2 to your computer and use it in GitHub Desktop.
Wicked cool regexs
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
# Match all script tags | |
<script(.|\n)*?</script> | |
# Match all style tags | |
<style(.|\n)*?</style> | |
# match all iframes | |
<iframe(.|\n)*?</iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment