I have an XML file, and I need to replace the text between two tags with a new string
the tags are <<ConnectionString>ConnectionString>THE OLD TEXT<<ConnectionString>/ConnectionString>
I need to change this to <<ConnectionString>ConnectionString>MY NEW TEXT<<ConnectionString>/ConnectionString>
I can't seem to find anything online, and see that using regex is a bad idea?
Please note, that this file contains more that 1
<<ConnectionString>ConnectionString>THE OLD TEXT<<ConnectionString>/ConnectionString>
Lines!
Can someone point my in the right direction or an example? Andrew