The challenge here is that you want to EXCLUDE the ssn. Regular expressions tend to require the pattern to be matched. You need a kind of "NOT" operator on the validator's result. That doesn't exist in the native RegularExpressionValidator.
It means you have to go a different direction:
1. Use a CustomValidator. You can still use the regular expression object from .net and javascript (http://www.synchro.net/docs/js/ref/regexp.html#1193136). After evaluating the SSN pattern (previously given as \W\d{3}-\d{3}-\d{4}\W), if its a match, set the IsValid value to false.
2. My replacement to the native validators, Professional Validation And More, has a NOT operator on every validator, including its RegexValidator. So you can just do this:
<vam:RegexValidator id="RV1" runat="server" ControlIDToEvaluate="TextBox1" ErrorMessage="No SSN"
Expression="\W\d{3}-\d{3}-\d{4}\W" NotCondition="true" />