garbuya: -------------------------------------------------------------------------------- It does not work ab|cd||||ef|||ghi|j| with backward replace "|" by "| " returns [...] --------------------------------------------------------------------------------
Hi, i guess, a part of the problem is the search pattern, | is a special (meta)character in regular expression mode; You have to escape it with a backslash for searching a literal "pipe" | The other part is indeed the current limitation of PSPad in searching/replacing newlines. However, in this case the mentioned workaround seems to help - backward search direction, after placing the cursor at the end of the file. Search for: \| Replace with: | [x] Regular expressions Search direction (.) Backward hth, vbr -- <https://forum.pspad.com/read.php?2,78993,79012> PSPad freeware editor https://www.pspad.com