Find in use regular expressions to replace
Java delete comment / * * /: / \ * {1,2} [\ S \ S] * \ * /?
Java delete comment //: // [\ S \ S] * \ the n-?
Delete comment xml: <- [\ S \ S] * -!?>
Delete blank lines: ^ \ S * \ the n-
\ N or \ r \ n or \ r are likely to be line breaks, depending on your system is windows or Unix / Linux or mac system