Regex tester for chars D, P, T