in reply to Regular Expression Matching

if( $line =~ /.*a HREF=\"(.*?)\"/s ){ print $1; }