You can use the wildcard characters # and * in the match string:
# matches any single digit
* matches zero or more digits
When you use the * wildcard character:
it can only appear once in a match string
it can appear only at the end of a match string
it cannot be the only character in a match string
Examples of using wildcard characters in the match string:
1111 |
- matches all account numbers 111100 to 111199 |
######## |
- matches a credit card number with the correct number of digits |
#* |
- matches all valid input greater than 1 character |