match any number of chars followed by number regex code example Example: regex for counting characters ( *?[0-9a-zA-Z] *?){10,}