[eluser]sophistry[/eluser]
ok, that's clearer: you just need to ignore "a" and "img" tags.
so, even though you changed tag to title_tag, the replacements var still shows the a href= being replaced. i am pretty sure you are saying you don't want to replace the part inside the href= so i am confused why it is in there...
please clarify.
regex is easy if you just treat it like a super compact programming language. just learn it like you'd learn any other!
cheers.