I am trying to write a regular expression to insert a target attribute in all hyperlinks found in an html document except for ones that are links to named anchors on the same page or ones that already have a target specified. So I guess the pattern in english is find all &#060;a hrefs without href="# and all &#060;a not followed by a target= within the tag<BR><BR>Does anyone have a reg expression to do this or guidance as to how to write it. I am new to reg expressions<BR><BR>thanks<BR>Michael