regex count number of words containing at least 16 characters code example Example: regex for counting characters ( *?[0-9a-zA-Z] *?){10,}