結果 : java method to check special characters in string