I have a problem. I am trying to remove <script>
and </script>
from a sentence using python. But I only can remove the word of script only. I can't remove the angle brackets too.
The sentence is: sentence = "<script> document.write("Hello word");</script>"
The output that i want: document.write("Hello word");
I can't find something like that on a python explanation.
Is this possible and what do I need to use then?