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.
私は正規表現を初めて使用します。誰かがJS正規表現を記述して、3つの連続して繰り返される文字を拒否するのを手伝ってくれるといいですね。
正規表現:
/(.)\1\1/
3つの繰り返し文字を含む文字列に一致します。