📄 sol8-2.vbs
字号:
Set objRegExp = New RegExp
'set pattern to extract all numeric values from string
objRegExp.Pattern = "\d+\.?\d*|\.\d+" objRegExp.IgnoreCase = True
objRegExp.Global = True
Set objMatches = objRegExp.Execute("111.13,1232,ABC,444,55")
For Each objMatch In objMatches
Wscript.Echo "Found match:" & objMatch.Value & " at position " & _
objMatch.FirstIndex
Next
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -