Remove only LF in txt file

notepad++, php, regex, text

Solution

In notepad++

Try this : `(?<!\r)\n`

Make sure to set the option for regular expression in the search options, hope it helps

Problem

I need to remove only the `LF`, not `CRLF`. Any idea about that? I can use PHP, notepad++, shell script, etc

Original source