需要RegEx模式 [英] RegEx pattern needed

查看:106
本文介绍了需要RegEx模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

真的可以使用一些帮助,我需要能够匹配以(http)开头和(.flv)结尾的url.我将非常感谢您的帮助.

Could really use some help, I need to be able to match a url that starts with (http) and ends with (.flv). I wouuld really appreciate some help.

推荐答案

Dim pattern="http.*\.flv"
Dim pattern2="^http.*\.flv


" ' ^表示该行的第一行;
" '^ means at the 1st of the line;


表示该行的末尾线
means at the end of the line


这篇关于需要RegEx模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆