title: C# Find a matching string by regex
body: <p>I want to find out, whether my string contains a text like #1, #a, #abc, #123, #abc123dsds and so on... ('#' character with one or more characters (digits and letters).</p>
  
  <p>My code so far won't work:</p>
  
  <pre><code>string test = "#123";
  boolean matches = test.Contains("#.+");
  </code></pre>
  
  <p>The <code>matches</code> variable is <code>false</code>.</p>