Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UTF8 文字をサポートする正規表現を作成しました。
XRegExp("^(\\p{L}|[0-9_/-]|\\s)+$");
今、私はユニコード文字「θ」(シータ)をサポートしたくありません。
You can use negative lookahead for that:
^(?!.*θ)[\p{L}\s0-9_/-]+$
In your code:
XRegExp("^(?!.*θ)[\\p{L}\\s0-9_/-]+$");