I am just looking forward to create a regex which is not having consecutive digits repeating more than five times as well as it should start from only 6,7,8,9 digits.
I have solution but I'm using below 2 regex and validating.
string startPattern = "^[6-9][0-9]{9}$";
string endPattern = "([\\d])\\1{5}";
Please help, so that I can use as dataannotations in model.