hi,
i have a 10 digit random number generated
i want to check that there are the same digit is not in the number 3 times in a row
e.g. 1224526890 is ok, but 1222426890 is not ok because 2 is there 3 times in a row
i guess some type of regular expression can do this, but i dont know how to use these or which one to use
thanks for your help
i have a 10 digit random number generated
i want to check that there are the same digit is not in the number 3 times in a row
e.g. 1224526890 is ok, but 1222426890 is not ok because 2 is there 3 times in a row
i guess some type of regular expression can do this, but i dont know how to use these or which one to use
thanks for your help