EmEditor (text editor) Forum Index
   Beta Version Bug Reports
     Problems with large files and find-replace
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
A-D-T
Posted on: 6/18/2010 1:40 am
Just popping in
Joined: 5/25/2010
From:
Posts: 5
Problems with large files and find-replace
hi!

I just encountered a problem with large files and the find-replace function:
I've got a big file with different datasets like

1|asdf|12348|asdf|....
2|1234855|asdf|238....
3|238ahsh|asdf|238....
and so on

I just want to have all datasets starting with "2|"
So I delete every other dataset with the regex "^[1345]\|*$"

This works well and leaves me a big file with only "2|" datasets and many empty lines. To optimize the onging use of the new file i also want to delete the empty lines with "^\n". And now comes the problem: It works but is AWFULLY SLOW (aprox. 1% of the file per 30 seconds).

Am I doing something wrong or is this a problem within EmEditor/Regex++? Is there another way to get rid of the empty lines?

cheers
A-D-T
Flat Previous Topic | Next Topic


Subject Poster Date
 » Problems with large files and find-replace A-D-T 6/18/2010 1:40 am
     Re: Problems with large files and find-replace Yutaka 6/18/2010 8:50 am
       Re: Problems with large files and find-replace A-D-T 6/19/2010 9:57 am

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