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.
この正規表現をチェックに使用します
public const string FullNameRegularExpression = @"^[a-zA-Z0-9._-]+$";
「スペースバー」を追加するには?
追加された\s
\s
public const string FullNameRegularExpression = @"^[a-zA-Z0-9._-\s]+$";
キーボードのスペースバーを押すか、正規表現に \s または \s+ または \s* を追加してください ;-)