Hi
I am trying to write a expression in ASP that will match everything between div tag
ReplacedString = RegularExpressionObject.Replace(body, news)
The test file that i used contain:
<div id="news"><tr>
<td>somethign here</td>
</tr></div>
and news is HTML code
I try a few expression but could find the pattern
I have tried
"(<div id=""news"">)((.)*)(</div>)" - Only work without new line
I have tried that
"(<div id=""news"">)((.*\n*)*)(</div>)"
"(<div id=""news"">)((.*\n?)*)(</div>)"
but when ever i run it then it take more then 5 mins and still not giving out any thing.
Can you please show me how to do it please?Thanks a lot in advance.