problem with carriage return or new line or whitespace

Tool for Search and Replace across multiple files.
User avatar
maxdido@gmx.de

problem with carriage return or new line or whitespace

Post by maxdido@gmx.de »

I'm having trouble finding:

Code: Select all

<movie>
    <id>
When I open the text file in notepad I see in between <movie> and <id> a cariage return and 4 spaces. But when I open the same file in wordpad I see 5 spaces. See image below.
QUESTION: How can I find this in textcrawler.

Image
User avatar
maxdido@gmx.de

Re: problem with carriage return or new line or whitespace

Post by maxdido@gmx.de »

found it. had to use 2x \r.

FIND:

Code: Select all

>\r\r\n
    <id>
REPLACED with:

Code: Select all

>\r\n
    <id>
User avatar
Fool4UAnyway

Re: problem with carriage return or new line or whitespace

Post by Fool4UAnyway »

That's what I expected.

You can make Notepad++ show these "invisible" (white space and newline) characters.
That may make you editing a lot easier at times.
User avatar
maxdido@gmx.de

Re: problem with carriage return or new line or whitespace

Post by maxdido@gmx.de »

That is a good suggestion, using notepad ++.
Thanks.
Post Reply