解决方案 »
- 来CSDN整整一个年头了,散分啦 ,最近找工作,希望能找到,谢谢各位来噌分哦,也谈谈感受
- VB最新排名
- 问一个MSDN里面的一个程序的问题
- 一个小问题,实现给分
- 請大家幫個忙,非常感謝!VB+SQL如何控制多用戶的並發操作!
- 我如何才能将表中字段读到combo或者DBCOMBO控件中去呀?
- 谁知道MSHFieldsgrid怎么传数据到数据库啊
- 查询结果用datagrid显示
- ★★★快来抢100分★★★:可不可以控制mschart控件中x轴每个刻度的宽度,以及让图表上下,左右滚动?
- 关于模块的问题!!!!!!!
- 请教各位大侠一个关于函数的问题
- 菜鸟 急急急!!求一VB6.0 安装解压包 发送邮箱[email protected]
Dim tem$
tem = "<input onclick=""javascript:call('12342')"">测试1</input><input onclick=""javascript:call('1345')"">测试2</input><input onclick=""javascript:call('2345')"">测试3</input><input onclick=""javascript:call('1235')"">测试4</input><input onclick=""javascript:call('13345')"">测试5</input><input onclick=""javascript:call('12145')"">测试6</input><input onclick=""javascript:call('12335')"">测试4</input><input onclick=""javascript:call('12341')"">测试8</input><input onclick=""javascript:call('12745')"">测试9</input><input onclick=""javascript:call('12545')"">测试11</input>"
Call GetNum(tem)
End SubPrivate Sub GetNum(ByVal Source$)
On Error Resume Next
Dim RegExp As Object, Matches As Object
Dim i&
Set RegExp = CreateObject("VBscript.RegExp")
RegExp.Global = True
RegExp.Pattern = "'(\d+)'"
Set Matches = RegExp.Execute(Source)
For i = 0 To Matches.Count - 1
Debug.Print Matches(i).SubMatches(0)
Next i
Set RegExp = Nothing
Set Matches = Nothing
End Sub
RegExp.Pattern = "'\)"">(.*?)<"
改成这样就好了。