I know this question is asked more often here on Stack, but I can\'t seem to get a straight answer out of the questions already posted.
I need to check if all specia
You are checking whether the string contains all illegal characters. Change the ||s to &&s.
||
&&