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.
ユーザーがフィールドに数値を入力できないようにする正規表現の作成方法を知っている人はいますか? 何かがこれに見えました:
/** * @Assert\Regex("/^\w+/") */
挨拶。ありがとう
多分この作品。(未検証)
/** * @Assert\Regex("/^[^0-9]+$/") */