EmEditor (text editor) Forum Index
   Regular Expressions
     Replace in files slow
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
localizer
Posted on: 4/29/2009 12:44 pm
Just popping in
Joined: 4/29/2009
From:
Posts: 2
Replace in files slow
I have a number of .txt files of 20 Mb each. Most of these Mbs are due to the fact that text in each line and in each file is followed by a huge number of white spaces.
I can open each file and do a Search for this
\$+?$
Replace with nothing.
This operation shrinks every file down to 2 Mb. But I have to do this manually for every file.

When I try this Search and Replace in all files, it is very slow. Doing it manually (open file, search and replace, save, close, open next one) is much faster. How can I improve speed in Replace in files?
Computer hardware is not an issue here - 3.5 Gb RAM, Core 2 Duo.
Thanks!
Flat Previous Topic | Next Topic


Subject Poster Date
 » Replace in files slow localizer 4/29/2009 12:44 pm
     Re: Replace in files slow Yutaka 4/29/2009 2:58 pm

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