Repeating letters | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Repeating letters

Hello everyone. I think I messed up in the understanding of groups and special sequences. I need to get repeating characters from my string as output, but it looks like that my regex doesn't work. Any recommendations? https://code.sololearn.com/c8IqsxqqhPoB/?ref=app

26th Feb 2021, 10:20 AM
Dimitry Buylin
Dimitry Buylin - avatar
1 Answer
0
I don’t know what rejex is. I would just use a four loop. Rejex is probably using that in the background anyway.
26th Feb 2021, 6:37 PM
Wilbur Jaywright
Wilbur Jaywright - avatar