For example, '1,2',Sometimes you don't have to use regular expressions '1 2'.indexOf(' ') >= 0. That's it, /\s+/.test(str);. ,if(/s/.test(str)){
確定! 回上一頁