Okay, I got the string parsing working with one exception. When the <A HREF...> </a> tag runs across two or more lines the test fails. Any suggestions? Here's what I'm using for a multiple tag search throughout the string(condensed): while ($line =~ m/<[\s]*A[\s]*HREF[\s]*=[\s]*["|'|]*([\D\w\d][^'">\s]*)["|'|]*[>]*(.*?)< \/a[>]/gi){
$url= $1; $linkname = $2; print FILE "$url\t$linkname\n"; } This works for tags that occur on a single line. I've tried adding in \r and \n and [\r\n] but no success. Thanks again.