asp,Function RemoveNonNumeric(str), Dim regEx, Set regEx = New RegExp, regEx.Pattern = "\D", regEx.Global = True, RemoveNonNumeric = regEx.Replace(str, ""),End Function,
``,,这个函数会将输入字符串中的所有非数字字符替换为空。Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.