J
Jeffrey
I would appreciate suggestions for a general strategy I could use to update
a bunch of HTML files.
Specifically I need to replace sevaral instances of one string with another
string in each of a few dozen HTML files.
While I already plan to use RegEx to do the actual replacement, what should
I be doing to open, update, and save each of the files. What would be an
efficient way to do this? I'm seeing that .NET has a File class, TextWriter,
StreamWriter, StringBuilder, and on and on. There are so many options. Which
ones would work together and what would make sense for my particular
situation?
Thanks.
a bunch of HTML files.
Specifically I need to replace sevaral instances of one string with another
string in each of a few dozen HTML files.
While I already plan to use RegEx to do the actual replacement, what should
I be doing to open, update, and save each of the files. What would be an
efficient way to do this? I'm seeing that .NET has a File class, TextWriter,
StreamWriter, StringBuilder, and on and on. There are so many options. Which
ones would work together and what would make sense for my particular
situation?
Thanks.