Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

file text replace

$
0
0
hello, i have been trying to replace an automatically generated text from a html file so far this is what i have found




$fileopen = FileOpen("vol002.htm", 1)
$sNewText = StringRegExpReplace($fileopen, "[<!-- generated -->]", "this try")FileWrite($fileopen, $sNewText)
FileClose($fileopen)


i belive i have to rewrite all the document replacing <!-- generated --> to this try then use filewrite but i cant find how to do that

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>