表示式 var pattern = new RegExp(s$) or var pattern =/s$/ 代表著以s結尾的字串都匹配。 透過\ (backslash) 開頭來表示轉義序列 ...
確定! 回上一頁