Regex to remove comments in XML file in Eclipse java

后端 未结 3 377
一个人的身影
一个人的身影 2020-12-10 05:24

Can anyone tell me how to write a regular expression to match the comments in XML file, for example,

", "");

[\s\S] works like '.', but will consume line endings as well.

提交回复
热议问题