I would like to match the contents of a paragraph tag using a perl reg ex one liner. The paragraph is something like this:
<p style="font-family: Calibri,Helvetica,serif;">Text I want to extract</p>
so I have been using something like this:
perl -nle 'm/<p>($.)<\/p>/ig; print $1' file.html
Any ideas appreciated
thanks