We have set of inputs like 'java-> Way->
Project test'.
ex:
We need to eliminate control characters only. we used [\p{C}] for matching those characters unfortunately it matches the the tab space and new line characters. Kindly give(Valid regex pattern) solutions to solve this issue.