VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Replace text in file

Andy Pearson  (2 Submissions)   Complete Applications   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Reads a file, replaces all occurrance of a string with a new string and writes result to a new file.
This is a very simple program, but it works tons faster than Notepad's (and many other programs') replace for large files. Note: The "Entire File" option allows replacing text accross lines, but requires reading whole file at once, so it won't work well for large files. Possible enhancements would be multi-file support, file open dialogs, command line options, etc. I may add some of these features if requested or if I find use for them.

Rate Replace text in file (5(5 Vote))

Download Replace text in file

Replace text in file Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters