or download this
$string = <DATA>;
$right = quotemeta('</a>');
...
__DATA__
<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db
+=Nucleotide&list_uids=18656900&dopt=GenBank" >gb|AF468789.1|</a> Gal
+lus gallus LIM domain-containing transcri... <a href = #18656900> 4
+8</a> 0.006