字符串检测
如何利用ASP检测出一个字符串中是否含有英文字母,如果含有就就输出有几个字母,
那位大哥能帮忙解决一下,多谢了!!
------解决方案-------------------- <script language= "VBScript ">
Dim str
str = "abc123DEF456 $$2345hh "
Dim re
Set re = New Regexp
re.Pattern = "[a-z] "
re.IgnoreCase = True
re.Global = True
Msgbox re.Execute(str).Count
</script>