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.
次のような繰り返される数字のシーケンス(2回以上)を検出するための正規表現を認識して見つけることができません。
1111 or a1111 or test4555
誰かが私を助けてくれますか?
あなたは書ける:
/(\d)\1\1/
ここで、\dは「数字」を意味し、「一致した(...)ものをキャプチャ(記憶) 」を意味し、「最初にキャプチャしたもの」を意味します。...\1(...)
\d
(...)
...
\1