Asp 中 获取视频标签的src的值 width height 的值

Asp 中 获取视频标签的src的值 width height 的值,第1张

用正则吧,相对容易一些,比如:

Dim ss, re, rv, Matches
ss = "<embed src=""/manage/editor/attached/media/20130607/20130607151919941994flv"" type=""application/x-shockwave-flash"" width=""550"" height=""400"" autostart=""false"" loop=""true""/>"
Set re = New RegExp
reGlobal = True
reIgnoreCase = True
reMultiLine = True
rePattern = "\bsrc\s=\s([""'])([^""']+)\1"
Set Matches = reExecute(ss)
responsewrite Matches(0)SubMatches(1) & " \ "
rePattern = "\bwidth\s=\s([""'])([^""']+)\1"
Set Matches = reExecute(ss)
responsewrite Matches(0)SubMatches(1) & " \ "
rePattern = "\bheight\s=\s([""'])([^""']+)\1"
Set Matches = reExecute(ss)
responsewrite Matches(0)SubMatches(1)

以上就是关于Asp 中 获取视频标签的src的值 width height 的值全部的内容,包括:Asp 中 获取视频标签的src的值 width height 的值、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/9477466.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-28
下一篇 2023-04-28

发表评论

登录后才能评论

评论列表(0条)

保存