const regex = /hello world/i // 使用test 比對字串是否符合pattern,回傳boolean ... 只要是英文大寫字母,就比對成功 const regex ...
確定! 回上一頁