正则表达式:一串连续的数字 中间不能有空格(32 342——>32342)
替换全部的空replace(/\s/g, "");
^\d+$,这个只判断是不是一连串数字
这个不需要正则表达式,replaceAll(" ","");即可