AdSense

網頁

2018/6/12

Regex 只允許輸入中英文數字

只允許輸入中英文數字的regex如下

/^[0-9a-zA-Z\u4e00-\u9fa5]*$/

沒有留言:

AdSense