http://www.perlmonks.org?node_id=737169

jonnyfolk has asked for the wisdom of the Perl Monks concerning the following question:

The following code is ignoring the text I would like to extract from html:
<div class="detailline_address"> 15480 W 66TH AVE Whiten, CO 86663 </div>
and the regex is:
if ($r =~ m#<div class="detailline_address">\s*?(.*?)\s*?</div>#) { p( +"Address: $1"); }
where subroutine p simply formats the print command.

Could someone give me a few pointers please?