I want to remove trailing white spaces and tabs from my code without removing empty lines.
I tried:
\\s+$
and:
([^\\n]
[ |\t]+$ with an empty replace works. \s+($) with a $1 replace also works. At least in Visual Studio Code...
[ |\t]+$
\s+($)
$1