Is it possible to write a regular expression to check whether all numbers of specific 10 digit number occured up to 3 times?
for example return value for Regex.IsMatch("xxxx", "4433425425") is false.
and for Regex.IsMatch("xxxx", "4463322545") is true. what is xxxx?
in the first one i have 4 occurrence of digit 4 and in second one non of digits occurred more than 3 times.
Is it possible to write a regular expression to check whether all numbers of
Share
Will match any digit that has four or more instances
Just an example of how to use it
Baised on @Brads Comments below use