hey guys, I need help with some regex. I have tried using some advanced find and replace but it doesnt seem to help.
so I have this
<html>
content
</html>
<doctype>
<html>
Crap content
</html>
I want to be able to remove everything below </html> for a bunch of files.
I tried using bbedit and notepad++ and I am now not sure if regular find and replace helps.
I checked online and found that regex could possibly help. Is there a search parameter where I can find
</html>
<doctype>
to End of file
and replace with
</html>
Thanks a lot for your help
so I have this
<html>
content
</html>
<doctype>
<html>
Crap content
</html>
I want to be able to remove everything below </html> for a bunch of files.
I tried using bbedit and notepad++ and I am now not sure if regular find and replace helps.
I checked online and found that regex could possibly help. Is there a search parameter where I can find
</html>
<doctype>
to End of file
and replace with
</html>
Thanks a lot for your help
