Notice: Undefined variable: bid in /home/wwwroot/cczh004/wwwroot/public/class.php on line 3
搜索列表
-
javascript下正则匹配百分比的代码
【正则表达式】<script language="javascript"> var re = /^-?\d+%$/; alert(re.test('50%')); alert(re.test('-25%')); alert(re.test('3a5%')); </script>
javascript下正则匹配百分比的代码