Visual Basic中的正则表达试怎么写?
<%
dim rst
rst= "1@@@3@5@ "
rst=replace(rst, "这个表达式怎么写? ", " ")
'想要的结果是rst=135
%>
------解决方案--------------------dim rst
rst= "1@@@3@5@ "
Dim regEx
Set regEx = new RegExp
regEx.Pattern = "@+ "
regEx.IgnoreCase = True
regEx.Global = True
rst = regEx.Replace(rst, " ")
Response.Write(rst)