Jump to content
Sign in to follow this  
leuce

How to do find and replace in TXT file within AutoIt

Recommended Posts

leuce

G'day everyone

Newbie here...

I'm busy writing a bitext viewer and I'm using a browser to view the text files. To do this, I need to convert all instances of &CRLF in a text file to <br>&CRLF (otherwise the browser don't respect line breaks). I could do this using a hidden window of Notepad, but I'd much rather do it from within the script.

The file read and the file written doesn't have to be the same file.

Any ideas how to do it?

Thanks

Samuel

Edited by leuce

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.