Page 1 of 1

problem with carriage return or new line or whitespace

Posted: Tue Apr 03, 2012 9:03 pm
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

Re: problem with carriage return or new line or whitespace

Posted: Wed Apr 04, 2012 4:33 pm
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>

Re: problem with carriage return or new line or whitespace

Posted: Thu Apr 05, 2012 11:22 pm
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.

Re: problem with carriage return or new line or whitespace

Posted: Mon Apr 09, 2012 6:46 pm
by maxdido@gmx.de
That is a good suggestion, using notepad ++.
Thanks.