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:
and the regex is:<div class="detailline_address"> 15480 W 66TH AVE Whiten, CO 86663 </div>
where subroutine p simply formats the print command.if ($r =~ m#<div class="detailline_address">\s*?(.*?)\s*?</div>#) { p( +"Address: $1"); }
Could someone give me a few pointers please?
Back to
Seekers of Perl Wisdom