in reply to Dealing with Word Compact HTML
$/ = "<p class=para>"; foreach (<DATA>) { s/\n//g; print "$1\n" if /<b>(.*)<.b>/; } __DATA__ <p class=para><a name="watch dog"></a><b>watch dog -</b> A big dog that makes sure that you don't do anything that you're + not supposed to).</p> <p class=para><a name="WR"></a><b>wooden round -</b> A big piece of ro +und wood.</p>
|
|---|