Hello!
I have a file with following htmlt tags:
.....can be anything before....
<div id="SomeConfig">
some text, can be anything here, also any tag
</div>
.....can be anything after......
I want to "cut" out the div which has an id attribute with config in its's
value. In the above sample
this would be:
<div id="SomeConfig">
some text, can be anything here, also any tag
</div>
I try with this but it does not work:
Dim re As Regex = New Regex("(<div id=.*?config.*?div>)",
RegexOptions.IgnoreCase)
Dim m As Match = re.Match(Text)
Dim s As String = m.Value()
Any suggestions?
Marius