functionAddSiteURL(ByValStr)
IfIsNull(Str)Then
AddSiteURL=""
ExitFunction
EndIf
Dimre
Setre=newRegExp
Withre
.IgnoreCase=True
.Global=True
.Pattern="str=.replace(str,"
.Pattern="str=.replace(str,"EndWith
Setre=Nothing
AddSiteURL=Str
EndFunction