Search code examples
eclipsecommentsjd-gui

Removing 1000s of comments in eclipse?


I installed JD-GUI to retrieve my code from a jar file. Everything works fine, except JD-GUI automatically adds annoying comments like this:

enter image description here

Any way I can remove them? I don't understand regex.


Solution

  • Use CTRL+H. Within "File Search" > "Search string", check "Regular expression" and use one of the regex given by the other answers.

    Then use "Replace..." to replace them all with nothing.