To start off, I finished the challenge but I kind of had to cheat on one specific parameter because the Regex wasn’t working as expected. In the part where 5555555555 was supposed to return true, I used the following:
/\d{10}/g
This should look for a group of numbers that repeats exactly 10 times as far as I am aware but instead it was treating it as 10 or more times. I verified this because when I changed the number to 9 or less digits it would show false but on 10 or more digits it would always show true. The issue lied in that numbers like 258384841848 are not valid because they consist of too many digits. Am I not understanding this correctly? After about 30 minutes of research and trying I ultimately had to give in out of frustrations.