Java Playground - regex match 4 repeated digits: Online Interpreter, Compiler & Editor | Sololearn