Search This Blog

vim: remove all java block comments

  1. Remove all /* ... */:
    :%s/\/\*\_.\{-}\*\///
  2. Remove all /** ... */:
    :%s/\/\*\*\_.\{-}\*\///

No comments:

Post a Comment