Jump to content

Recommended Posts

Posted (edited)

Ok for example i have html file with code.

Test = 123

Test = 1234

Test = 2345

Test = 234

I need to find values 123, 1234, 2345, 234, copy them and insert into .txt file like this:

123

1234

2345

234

I know how to search 1 value. But cant understand how to search all 4. Something like...find 1st value, copy it, delete, then find 2nd value...etc.

And there is also problem searching different length values.

Thanks for help.

Edited by Romm
Posted

_ArrayDisplay provides information in Auto IT window. How can i copy it into file?

InetGet ( "http://www.example.com", @TempDir & "\test.htm", 1)
$chars = FileRead(@TempDir & "\test.htm")
Posted

You can use FileReadLine in a loop and just parse each line separately. Just use stringtrimleft to take off the unneeded characters from the left side of the string.

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
×
×
  • Create New...