title: Regex to match integers, decimals and fractions
body: <p>I'm looking for a regular expression that can match integers, decimals and fractions from a string:</p>
  
  <p>Here are some examples</p>
  
  <pre><code>11.325 x 55.65
  11x13
  11”x13”
  11” x 13”
  11 3/8 x 15 7/8 
  11 3/8” x 15 7/8“
  </code></pre>
  
  <p>Explanation of above examples:</p>
  
  <ol>
  <li>Two decimals </li>
  <li>Two integers </li>
  <li>Two integers with quote to represent inches </li>
  <li>Same as above but with spaces </li>
  <li>Two integers each followed by a fraction</li>
  <li>Same as above with a quote after fraction for inches</li>
  </ol>
  
  <p>So far I have come up with code that will match any numeric values, i.e. integers and decimals, but I'm stuck on the fractions.</p>
  
  <pre><code>Dim matches = Regex.Matches(curCellVal + "", "[\d.]+")
  </code></pre>
  
  <p>The above code gives me 6 matches for <code>11 3/8” x 15 7/8“</code>, I need it to give me 2.</p>
  
  <p>I'm not competent with regex so any help would be much appreciated.</p>
  
  <p>My language of preference is VB.net.</p>