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 |
|---|---|
| Deipotent | Posted on: 7/13/2011 4:08 pm |
Just can't stay away ![]() ![]() Joined: 2/15/2008 From: Posts: 118 |
Match some text followed by either newline or EOF ? I know you can use \n to match a newline, but how do you match either newline OR EOF ?
I want it to match all lines, including the last line, which have some specific text followed by either newline or EOF. For example, I can use "sometext\n", but this won't match on the last line. |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
Deipotent | 7/13/2011 4:08 pm |
| |
CrashNBurn | 7/13/2011 5:23 pm |
| |
Deipotent | 7/13/2011 6:37 pm |
| |
CrashNBurn | 7/13/2011 6:51 pm |
| |
Deipotent | 7/13/2011 6:58 pm |
| Register To Post | |


