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.
ログイン画面をまとめる作業を任されました。オンラインで実行可能なものを見つけましたが、パスワードを検証するための正規表現の記述に問題があります。次のポリシーを適用する必要があります -- パスワードは正確に 14 文字の長さで、以下を含める必要があります。
これを書く方法がわかりません。誰でも助けることができますか?
「特殊文字」とは、文字でも数字でもないものを意味すると仮定します。
^(?=.*[a-z].*[a-z])(?=.*[A-Z].*[A-Z])(?=.*[0-9].*[0-9])(?=.*[^A-Za-z0-9].*[^A-Za-z0-9]).{14}$