I can't get it to work.
Here are the two spots with the onclick. What do I do to them?
oTag="
c1Tag=" target="_blank" rel="noopener noreferrer nofollow" title="">"
oTag2="[url="http://"
c2Tag=""]"
c2Tag=""
roTag="<a href="""
rc1Tag=""" onclick=""_BLANK;"">"
rc2Tag="</a>"
rc3Tag=""">"
oTagPos=instr(1,strToFormat,oTag,1)
c1TagPos=instr(1,strToFormat,c1Tag,1)
if oTagpos>0 and c1TagPos>0 then
strArray=split(strToFormat,oTag,-1,1)
for Counter=0 to ubound(strArray)
if instr(1,strArray(Counter),c1Tag,1)>0 then
strArray2=split(strArray(Counter),c1Tag,-1,1)
strArray2(0)=replace(strArray2(0),Chr(34)," ")
ReplaceURLs=ReplaceURLs&"<a href="""&strArray2(0)&"""
onclick=""_BLANK;"">"&strFirstPart&"</a>"&strSecondPart
elseif ucase(left(strArray2(0),7))="HTTP://" then
ReplaceURLs=ReplaceURLs&roTag&strArray2(0)&rc1Tag&strFirstPart&rc2Tag&strSecondPart
elseif ucase(left(strArray2(0),8))="HTTPS://" then
ReplaceURLs=ReplaceURLs&roTag&strArray2(0)&rc1Tag&strFirstPart&rc2Tag&strSecondPart
elseif ucase(left(strArray2(0),4))="WWW." then<