Regular expression in JS. Flag. 接在Regx後面,語法為. _ /pattern/flags _. /g 全域搜尋,會掃完整個input,不會只看一行. /i 忽略大小寫.
確定! 回上一頁