Java file has line numbers like following:
- Paste your complete content into Notepad++
- Ctrl+F to open find box.
- Select “Regular expression” radio button
- Enter this expression to search for line number with comments (.*)[1-9](.*)(/)
- Replace you can keep blank to replace it with nothing. Which means deleting it.
- Click “Replace All” button.