hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Notepad new line character

 
   Soft32 Home -> Windows -> MediaCenter RSS
Next:  MCE 2005 won't boot to XP or Safe Mode - stops at..  
Author Message
Jake

External


Since: Apr 01, 2006
Posts: 11



(Msg. 1) Posted: Thu Sep 13, 2007 1:58 pm
Post subject: Notepad new line character
Archived from groups: microsoft>public>windows>mediacenter (more info?)

I have a text file that includes many records of information. In the file
there is a "~" which separates the records. I would like to insert a
character instead of the "~" which would make Notepad put the information
after that on a new line, to clean up the data. Is this possible?

Thanks
Back to top
Login to vote
Gene E. Bloch

External


Since: Mar 17, 2006
Posts: 109



(Msg. 2) Posted: Thu Sep 13, 2007 5:32 pm
Post subject: Re: Notepad new line character [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 9/13/2007, Jake posted this:
> I have a text file that includes many records of information. In the file
> there is a "~" which separates the records. I would like to insert a
> character instead of the "~" which would make Notepad put the information
> after that on a new line, to clean up the data. Is this possible?
>
> Thanks

Not easily in NotePad or WordPad.

Easily in NoteTab, http://www.notetab.com

The price is right if you download NoteTab Light Smile

You would run a replace-all command, replacing ~ by \r\n -- but be
sure to check the "regular expression" box.

"\" is a prefix to indicate regular expression codes and special
characters. "\r" is a carriage return and "\n" is a line-feed; the pair
forms a windows newline.

It's in the help file, but (I think) hard to find.

NoteTab isn't the only editor that is free and can do the above, it's
just the one I use most often and remember the name of Wink

BTW, this is the wrong newsgroup for this question. It should be in a
general Windows newsgroup or a text-editing group.

--
Gene E. Bloch (Gino)
letters617blochg3251
(replace the numbers by "at" and "dotcom")
Back to top
Login to vote
Gene E. Bloch

External


Since: Mar 17, 2006
Posts: 109



(Msg. 3) Posted: Thu Sep 13, 2007 6:02 pm
Post subject: Re: Notepad new line character [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 9/13/2007, Gene E. Bloch posted this:
> On 9/13/2007, Jake posted this:
>> I have a text file that includes many records of information. In the file
>> there is a "~" which separates the records. I would like to insert a
>> character instead of the "~" which would make Notepad put the information
>> after that on a new line, to clean up the data. Is this possible?
>>
>> Thanks
>
> Not easily in NotePad or WordPad.
>
> Easily in NoteTab, http://www.notetab.com
>
> The price is right if you download NoteTab Light Smile
>
> You would run a replace-all command, replacing ~ by \r\n -- but be sure to
> check the "regular expression" box.
>
> "\" is a prefix to indicate regular expression codes and special characters.
> "\r" is a carriage return and "\n" is a line-feed; the pair forms a windows
> newline.
>
> It's in the help file, but (I think) hard to find.
>
> NoteTab isn't the only editor that is free and can do the above, it's just
> the one I use most often and remember the name of Wink
>
> BTW, this is the wrong newsgroup for this question. It should be in a general
> Windows newsgroup or a text-editing group.

A couple of other free editors:

EditPad Lite is available at http://www.editpadpro.com

NotePad++ is available at http://notepad-plus.sourceforge.net

All three are vaguely similar, but you might like one better than the
others.

Some people like an editor called Jarte. I don't, and anyway, AFAICT it
doesn't do regular expressions, in which case it wouldn't solve your
problem.

--
Gene E. Bloch (Gino)
letters617blochg3251
(replace the numbers by "at" and "dotcom")
Back to top
Login to vote
David Lowndes

External


Since: Nov 11, 2005
Posts: 5



(Msg. 4) Posted: Fri Sep 14, 2007 12:59 am
Post subject: Re: Notepad new line character [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>I have a text file that includes many records of information. In the file
>there is a "~" which separates the records. I would like to insert a
>character instead of the "~" which would make Notepad put the information
>after that on a new line, to clean up the data. Is this possible?

Not with a single character. Notepad expects a CR, LF (0x0d, 0x0a)
pair for a new line.

Dave
Back to top
Login to vote
Gene E. Bloch

External


Since: Mar 17, 2006
Posts: 109



(Msg. 5) Posted: Fri Sep 14, 2007 5:42 pm
Post subject: Re: Notepad new line character [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 9/13/2007, Gene E. Bloch posted this:
> On 9/13/2007, Gene E. Bloch posted this:
>> On 9/13/2007, Jake posted this:
>>> I have a text file that includes many records of information. In the file
>>> there is a "~" which separates the records. I would like to insert a
>>> character instead of the "~" which would make Notepad put the information
>>> after that on a new line, to clean up the data. Is this possible?
>>>
>>> Thanks
>>
>> Not easily in NotePad or WordPad.
>>
>> Easily in NoteTab, http://www.notetab.com
>>
>> The price is right if you download NoteTab Light Smile
>>
>> You would run a replace-all command, replacing ~ by \r\n -- but be sure to
>> check the "regular expression" box.
>>
>> "\" is a prefix to indicate regular expression codes and special
>> characters. "\r" is a carriage return and "\n" is a line-feed; the pair
>> forms a windows newline.
>>
>> It's in the help file, but (I think) hard to find.
>>
>> NoteTab isn't the only editor that is free and can do the above, it's just
>> the one I use most often and remember the name of Wink
>>
>> BTW, this is the wrong newsgroup for this question. It should be in a
>> general Windows newsgroup or a text-editing group.
>
> A couple of other free editors:
>
> EditPad Lite is available at http://www.editpadpro.com
>
> NotePad++ is available at http://notepad-plus.sourceforge.net
>
> All three are vaguely similar, but you might like one better than the others.
>
> Some people like an editor called Jarte. I don't, and anyway, AFAICT it
> doesn't do regular expressions, in which case it wouldn't solve your problem.

Good thing I keep answering myself, otherwise this thread would be
reasonably short Wink

I looked at those two editors above and discovered that EditPad Lite
won't do regular expressions. Help says it is available in the Pro
version (which is not free).

--
Gene E. Bloch (Gino)
letters617blochg3251
(replace the numbers by "at" and "dotcom")
Back to top
Login to vote
Display posts from previous:   
       Soft32 Home -> Windows -> MediaCenter All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA



[ Contact us | Terms of Service/Privacy Policy ]