I want to have a regex expression do that.
- string = 12345 => true
- string = 11145 => false, because we do not allow any character appear consecutively, this example is the 1.
- string = aaa664 => false, it is because of a.
I need regex to do it for both character and digit, please help.