At Tue, 4 Dec 2007 08:46:12 +0000, Peter Alcibiades wrote:
I'm searching and replacing a text file. In gedit, if I search for \n\r I get, as expected, a match at every line end. Same with \n or \r.
However, in Kate or Geany, I do not. Tearing hair out. What could be the problem? I've tried
It seems that with Kate you can select the 'regular expressions' tick box and use the character '$' to match the end of a line. The only way I could find to insert a new line in the replacement string was to paste a string containing newline(s) into the replacement box.
Cheers, Richard