Can anyone tell me how to write a regular expression to match the comments in XML file, for example,
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
I'm using Eclipse (java) and want to remove those comments from XML file.