preg match for non utf and cleaning code