专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
VB6 通过正则表达式定位字符串的实现方法如下: [工程]-[引用]\"MicrosoftVBScriptRegularExpressions\" ’本例是要定位字符串s中数字出现的位置 PrivateSubCommand1_Click() DimreAsRegExp,sAsString,Matchs s=\"http://blog.sina.com.cn/juyonghong/123456.html\" Setre=NewRegExp re.Pattern=\"\\d+\"’数字序列 Ifre.Test(s)Then’测试是否存在 SetMatchs=re. [阅读全文] [PDF]
1 共1条 分1页