replaced \p{Cntrl} Java pattern with regular expression equivelent