What method are you using to determine where the link target is?
Possibly could use text :search & replace
to put in rich text url links, this is a similar method for a different situation:
What method are you using to determine where the link target is?
Possibly could use text :search & replace
to put in rich text url links, this is a similar method for a different situation: