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?
In reply to regex to extract text by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |