Hos Computerworld it-jobbank er vi stolte af at fortsætte det gode partnerskab med folkene bag IT-DAY – efter vores mening Danmarks bedste karrieremesse for unge og erfarne it-kandidater.
a = split(htmlkode, "href=") for i = 1 to ubound(a) h = a(i) if instr(h, """") > 0 then h = mid(h, instr(h, """") + 1) if instr(h, """") then h = left(h, instr(h, """") - 1) if instr(h, ">") then h = left(h, instr(h, ">") - 1) htmllink = htmllink & h & "<br>" next
jeg har brugt: Set Rx2h = New RegExp Rx2h.Global = True Rx2h.IgnoreCase = True Rx2h.Pattern = "'" htmllink = Rx2h.replace(htmllink,"") men det er ikke særligt pænt
og for at undgå <BR><br> htmllink = Replace(htmllink, "<br><br>", "<br>")
Jeg ved ikke hvorfor, du vil erstatte ' med en tom streng, men man kan gøre det sådan her:
htmlkode = replace(htmlkode, "'", "") a = split(htmlkode, "href=") for i = 1 to ubound(a) h = a(i) if instr(h, """") > 0 then h = mid(h, instr(h, """") + 1) if instr(h, """") then h = left(h, instr(h, """") - 1) if instr(h, ">") then h = left(h, instr(h, ">") - 1) htmllink = htmllink & h & "<br>" next
Eller:
a = split(htmlkode, "href=") for i = 1 to ubound(a) h = a(i) h = replace(h, "'", "") if instr(h, """") > 0 then h = mid(h, instr(h, """") + 1) if instr(h, """") then h = left(h, instr(h, """") - 1) if instr(h, ">") then h = left(h, instr(h, ">") - 1) htmllink = htmllink & h & "<br>" next
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.