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.
次の記号の任意の組み合わせに対して正規表現 (Regex.Match) が必要です
a-z A-Z 0-9 ()[]_-.
長さは 2 ~ 16 シンボルです。例:
asdqwe23)) asd[-_]QWE 0(.)qwe[zz_-].
私はこれを試しました
^[\w\d\r\n\d\[\]\(\)-_]{2,16}
1st 以外の任意の場所で !@#$%^&* 記号を使用できます。また、17 文字以上の長さの文字列も isSucsess true を返します。