title: Regular expression that negates white space, forward slashes, and backward slashes
body: <p>I have written a regex that is supposed to match a string without white space, forward, or backward slashes. Problem is, I'm getting an "unterminated set" error.</p>
  
  <p>My regex:</p>
  
  <pre><code>Regex checkForSpace = new Regex("^[^\\s\\/\\]+$");
  </code></pre>
  
  <p>It was working as it was supposed to before I added the backslash snippet, now I get the error. Not exactly sure what I'm doing wrong. This is my first significant experience with regular expressions.</p>
  
  <p>Any advice would be appreciated.</p>