How can I use Regex Replace with XML?
Assuming I have the given text below:
<test>Hello World</test>
<test1>Hello World</test1>
<test2>Hello World</test2>
<test3>Hellow World</test3>
How can I replace all “Hello World” tag values if the parent tag is not test tag?
Regexcan be used for parsing XML since it is strict with its format but it is not recommended to use itUse
LINQ2XML