Check if a string contains special characters except period and question mark Java
<p>I'm trying to find a way to use regex and match to see if a string contains a special character with the exception of a period or comma. I'm not very familiar with regex and about to bang my head on a wall. What is the regex to when I call</p>

<pre><code>string.matches("??????");
</code></pre>

<p>will return a boolean based on whether string contains a special character other than a period or comma?</p>
