IntelliJ: remove block comments

Elvis Ciotti
Jan 24, 2024

--

Select the code, or the file, enable REGEXPR and replace

(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)

with empty string

--

--

Elvis Ciotti
Elvis Ciotti

Written by Elvis Ciotti

Software Contractor — Java, Spring, k8s, AWS, Javascript @ London - hire me at https://elvisciotti.github.io/

No responses yet