Besoin d'aide pour convertir un script Vb en Javascript
Salut j'aurais besoin l'aide de quelqu'un pour convertir le scirpt en VbScript en JScript.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <%
Function notag(txt)
dim regEx,temp
Set regEx = New RegExp
regEx.Global = True
regEx.Pattern = "<[^>]+>"
temp = regEx.REPLACE(txt,"")
' supprime aussi les retours
temp = replace(temp,VbCrLf," ")
' et les espaces doubles
while instr(temp," ") > 0
temp = replace(temp," "," ")
wend
notag = temp
end function
%> |
Si vous pouvez m'aider ça serait grandement apprécié :oops: ... j'connais rien au vb.