0

I have many empty Javadoc comments at beginning of many Java files in my project.

/**
 * 
 */
package com.name.app
// etc. etc.

How to remove all of them using Eclipse?

Cœur
  • 34,719
  • 24
  • 185
  • 251
Mauricio
  • 306
  • 4
  • 8
  • Take a peek [at this question](https://stackoverflow.com/questions/9078528/tool-to-remove-javadoc-comments) (as a starting point...) – negacao Nov 03 '17 at 15:14
  • 2
    Possible duplicate of [Regular expression finding empty comments in code](https://stackoverflow.com/questions/17471230/regular-expression-finding-empty-comments-in-code) – Lonzak Apr 16 '18 at 09:54

1 Answers1

0

I found the required regex ...

With Search menu, File, put this in Containing text with "Regular expression" checked :

\A/\*\*(\s|\*)+\*/

Hope it helps for others.

Mauricio
  • 306
  • 4
  • 8