RickBeddoe
Programmer
Hello Folks,
I have an HTML file that I'm processing that contains comments. Unfortunately, the application that generates this HTML file, malforms the comments. We are working to get the developer of this tool to fix the problem, but in the meantime I'd like to develop a workaround. The malformed comment looks like this:
<!-- Some Comment <some tag>
I'd like to create a regex to look for lines containing the comment and missing "-->", then I'd like it to delete the malformed comment.
Any suggestions would be appreciated.
I have an HTML file that I'm processing that contains comments. Unfortunately, the application that generates this HTML file, malforms the comments. We are working to get the developer of this tool to fix the problem, but in the meantime I'd like to develop a workaround. The malformed comment looks like this:
<!-- Some Comment <some tag>
I'd like to create a regex to look for lines containing the comment and missing "-->", then I'd like it to delete the malformed comment.
Any suggestions would be appreciated.