Regular expression to validate file name against blank spaces
<p>the below java script regular expression is to validate a file name for special characters.</p>

<pre><code>fileNameSpecialCharacters = new RegExp("[~#%&amp;*{}&lt;&gt;;?/+|\"]");
</code></pre>

<p>How can I include white space also in this regexp? I want to validate my attachment for blank spaces.</p>

<p>Thanks,
Sijo</p>
