Sign in
Log inSign up

Regex for checking "non-repetitive characters not more than 2 consecutive time"

Default profile photo
Anonymous
·Feb 18, 2020

Question is right to answer

0%

Wrong question

100%

2 votes · Closed

Need a regular expression that should work for below mentioned formats

  1. Acceptable Format: "A123bcd456", "Abcd12345678", "AAbcdd123456"

  2. Non-acceptable Format: "AAbbcc123456", "AAAbbccc1234", "AAbcdd123444"