title: Trouble with Regex in C#
body: <pre><code>match = Regex.Match(theString, @"\W|_").NextMatch();
  </code></pre>
  
  <p>What exactly does this line do? I've read that the \W should match any non-alphanumeric character - which is exactly what i'm looking for. I want to be able to could the number of characters in a string which are not numeric and which are not letters. So for instance, the string "!>*t!%@^" should return 6, since "t" is a letter. </p>
  
  <p>Any help would be appreciated. </p>