Using .NET Regular Expression, match any string with exactly 9 digits
- by Nick
I'm trying to create a regex expression to match any string that has exactly 9 digits. the digits can exist anywhere in the string.
For example, if you passed in the following strings, you'd get a match:
123456789
123aeiou456abc789
These strings would fail to provide a match
12345678
1234567890