SUMMARY regexp "^\n" do not find any empty string in find and replace. "^$" also don`t work. Kwrite do this replace without problem. STEPS TO REPRODUCE 1. I saved log file (2 MB) filter some strings with nothing → many empty strings 2. try to replace them like "^\n" for nothing OBSERVED RESULT not find any string EXPECTED RESULT all empty strings removed SOFTWARE/OS VERSIONS Windows: - macOS: - Linux/KDE Plasma: Debian GNU/Linux 11 5.10.0-16-amd64 (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Just tried that in master, did work for me.