We can check each character of a string is special character or not without using java regex’s. By using String class contains method and for loop we can check each character of a sting is special character or not .
Read moreHow do you find special characters in a string?
Follow the steps below to solve the problem:
Read moreHow do you check if there is a special character in a string Java?
Java Program to Check String Contains Special Characters
Read more