RegEx: Selecting html tag content
September 23rd, 2009 by jeremychoneRegEx to select the content of div.code
<div\b class=.code[^>]*>([\s\S]*?)</div>
Result:
<div class="cdeBlock">
<div class="cdeLbl">HTML: /snowReport?resort=Tahoe</div>
<div class="code html"><p>Hello, there are ${m.newSnowInch} inches
of new Snow in ${r.p.resort} </p></div>
</div>
<div class="cdeBlock">