";
sourceText+= @"
";
sourceText += @"...";
// String to find is: (I Know the Server and the web, but nothing else)
string toFind = "'http://Servername/Webname/NOW_THE_ORIGINAL_STUFF";
// 1. Task: Find all matches of 
Parsing and modifiying html-pages with C#?
Hi all,
I have to do change the server urls of web ressources like images to local urls.
Example:
to:
Where the servername, webname and listname are variable and may change.
What ist the best way to replace specific Textpattern in large texts? Regular Expressions? XML-Parser and XSLT? If Regex will be prefered, what will be the correct replace-pattern?
Here's the full task:
// Sourcetext emample:
string sourceText = @"....
Answers
Know the answer? Post it. Somebody with the same question will find it here.