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.
HTML5 の名前のパターン
[a-zA-Z ]{5,}
その 5 回のスペースを受け入れます。
スペースで始まる名前を受け付けないパターンが欲しい
変化する
に
[a-zA-Z][a-zA-Z ]{4,}
これは私のために働いた
pattern="^[a-zA-Z]+(\s[a-zA-Z]+)?$"