Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- </style>
- <title> </title>
- </head>
- <body>
- <script>
- var txt = "<TAG>keeep mee!<foo>throw me away D:</foo>keep me too!!</TAG>";
- document.body.innerText = txt+"\n\n"+txt.replace(/(<f.*><.*o>)(?=<)/g,"");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment