title: check for alphanumeric, space and certain special characters in String
body: <p>In Java, I want to check a string for alphanumeric, space and certain special characters only in String. If others found, should reject the entire string.</p>