big regular expression search/replace

Soldato
Joined
10 Sep 2003
Posts
5,018
Location
Midlands
Hi there,

I have a text file containing about 4 million + rows.

I want to manipulate the data using a regular expression - i've tried editplus and notepad++ and both seem to crash with the shear number of replacements.

Can anyone recommend a utility that can cope with this amount of data?

Thanks.
 
vbs script or activeperl (or even python) would be the way to go imo for running a regexp on a file of that size. It is a heck of a size for a flat file though, is it output from a simulation?
 
exactly! a 190mb text file is never a good thing!

i'm trying to clean up and export the contents into a proper database... however i can't due to not being able to chop and change the data without splitting it into 101 smaller chunks and it taking all day :o
 
Back
Top Bottom