EmEditor (text editor) Forum Index
   Regular Expressions
     Match some text followed by either newline or EOF ?
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
CrashNBurn
Posted on: 7/13/2011 6:51 pm
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Match some text followed by either newline or EOF ?
I can't reproduce what you are claiming in this case.
I've tried with both unix-LF and windows-CRLF files.
AString
ANotherString
YetAnotherString
EvenMoreString

This Search: ([[:alnum:]]+)\n
Replace: \1,

Results in:Quote:
AString, ANotherString, YetAnotherString, EvenMoreString


Flat Previous Topic | Next Topic


Subject Poster Date
   Match some text followed by either newline or EOF ? Deipotent 7/13/2011 4:08 pm
     Re: Match some text followed by either newline or EOF ? CrashNBurn 7/13/2011 5:23 pm
       Re: Match some text followed by either newline or EOF ? Deipotent 7/13/2011 6:37 pm
       » Re: Match some text followed by either newline or EOF ? CrashNBurn 7/13/2011 6:51 pm
           Re: Match some text followed by either newline or EOF ? Deipotent 7/13/2011 6:58 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文