Forum Moderators: open

Message Too Old, No Replies

Search and replace on a 150MB file without it saying "Not Responding"?

         

anon123

8:58 pm on Sep 22, 2008 (gmt 0)

10+ Year Member



I'm trying to do a simple search and replace using wordpad on a huge file but it eventually times out and says "Not Responding" and I have to end the program.

Are there any other ways to do a search and replace on a file this large without it crapping out?

I was thinking of using excel to try it but I think it would mess up the formatting of the file.

Any ideas?

rocknbil

10:42 pm on Sep 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



150 megs . . . just . . . . . WOW.

If I had this conundrum, I would do it via scripting. I'd write a small perl program to do the work, and run it in DOS. It would probably run in about 3-5 minutes. That would be the only thing I know of to digest such a huge chunk of data.

Alternatively you can give one of the MS Office or OpenOffice programs a try - Word/Office text editor, etc.

Demaestro

10:49 pm on Sep 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



try Textpad.

I had a similar issue a few years ago and textpad was able to handle the find and replace without crashing.

wyweb

1:51 am on Sep 23, 2008 (gmt 0)



NoteTab Light will do it, depending on your processor speed. It's freeware and I've used it on bigger files than that before, although not by much.