in notepad++ this pattern ([\t\s\,])+
which I intended to match a tab a space or a comma matches line breaks (\r\n
in notepad). Why is this?
\s
represents any white space character. It will match tabs, but it will also match new lines and carriage returns because those too are white space characters.
If you want to just match tabs, spaces, or commas, use a pattern like this:
[\t ,]+
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With