js 正则表达式判断用户名输入里是否有空格<script>function getUrlParam(name) {var reg = new RegExp("\s")var r = name.substr(1).match(reg)if2023-04-15JavaScript520