簡單來說,當你想要看字串是否包含某pattern 時,使用 test 或 search ;想 ... 包含英文大小寫、數字、底線, [A-Za-z0-9_]; \s : space,包含space, ...
確定! 回上一頁