Remove digit, lcase and ucase instructions; use regexs instead.