[Solved] Search for \ at the end of line in *.TXT
[Solved] Search for \ at the end of line in *.TXT
How can I search inside TXT files for a backslash (\) at the end of line?
Last edited by w64bit on Fri Feb 16, 2024 12:05 pm, edited 1 time in total.
Re: Search for \ at the end of line in *.TXT
Assuming a line ends with '\r' or '\n' character or 'End of file' (EOF), this should work:
ext:TXT regex:content:".*?\\(?:[\r\n]|$)"
ext:TXT regex:content:".*?\\(?:[\r\n]|$)"