请问大家,asp中判断一个STRING全是数字的正则表达式是怎么样的!我写成这样好像不对!!
function IsNumber(strNumber)
IsNumber = false
Dim regEx, Match
Set regEx = New RegExp
regEx.Pattern = "^[0-9]*[1-9][0-9]*$"
regEx.IgnoreCase = True
Set Match = regEx.Execute(strng)
if match.count then IsNumber= true
end function
请大家帮助!!