<%
str ="[5.19][软件更新][DGREE-R/1.5G][中文]"
pattern = "(\/)(\d+([.]\d+)?)\w"
set regex = new regexp
regEx.Pattern = pattern
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute(str)
For Each Match in Matches
response.write Replace(Match.Value,"/","")
Next
<%
str ="[5.19][软件更新][DGREE-R/1.5G][中文]"
pattern = "(\/)(\d+[.]\d+)\w"
set regex = new regexp
regEx.Pattern = pattern
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute(str)
For Each Match in Matches
response.write Replace(Match.Value,"/","")
Next