This topic has been archived. It cannot be replied.
-
工作学习 / 专业知识杂谈 / Mia小妹再次请教各位前辈一个问题。先谢了!I have these script in vbscript, now I would like to have them in vb.net, try to make change, no luck, anyone could give a hand? Thanks inadvance!
set re = new regexp
re.Pattern = "/content/.+"
re.IgnoreCase = true
biscontent = re.test(request.servervariables("URL"))
if not biscontent then
re.Pattern = "/register/buypedometer.+"
biscontent = re.test(request.servervariables("URL"))
end if
re.Pattern = "/register/.+"
bisreg = re.test(request.servervariables("URL"))
-patches(Mia);
2006-10-12
{492}
(#3258146@0)
-
check out this class in vb.net System.Text.RegularExpressions.Regex你到底是做什么的?问题的广度很大呀。
-alittleman(凡人);
2006-10-12
{36}
(#3258409@0)
-
Thank you so much for your prompt reply.Unfortunately I am a web developer, and I am doing the transfer the vbscript code to the .net code, and not familiar with regex at all, so, try to find a shortcut to get this done. I have checked that class, but so far, find nowhere. Need more help!
-patches(Mia);
2006-10-12
{251}
(#3258445@0)