replace '[:alnum:]' pattern with 'a-zA-Z0-9'
replace '[:alpha:]' pattern with 'a-zA-Z'
replace '[[:digit:]]' pattern with '\d'