how to remove blan line in code code example
Example 1: remove empty lines visual studio
^(?([^\r\n])\s)*\r?$\r?\n
Example 2: remove empty lines visual studio
in find replace add ^(?([^\r\n])\s)*\r?$\r?\n with regex enabled
^(?([^\r\n])\s)*\r?$\r?\n
in find replace add ^(?([^\r\n])\s)*\r?$\r?\n with regex enabled