JavaScript RegExp.test() 方法
定義和用法: test() 方法用於檢測一個字符串是否匹配某個模式. 語法: RegExpObject.test(string); RegExpObject:正則表達式; string:必須 ...
定義和用法: test() 方法用於檢測一個字符串是否匹配某個模式. 語法: RegExpObject.test(string); RegExpObject:正則表達式; string:必須 ...