Could anyone please help with C# regular expression for requirement below, please?
- should start with 1 and should be 6 digit long.
- should start with 7 and should be 6 digit long.
- should be 8 digit long.
Update:
Apologies not clarifying the requirement. They are individual cases ie. all I need is a regular expression to these specific cases (i.e. 3 in total).
Here it is:
or following NullUserException ఠ_ఠ advice: