title: Replace part of string using Regex if this part contains additional spaces
body: <p>I want to replace all <code>"12-12"</code> to <code>"12:00 AM - 12:00 AM"</code></p>
  
  <p>For this I've created some logic for replacement :</p>
  
  <pre><code>IDictionary&lt;string, string&gt; Replacements = new Dictionary&lt;string, string&gt;
  {
      { "12-12".ToUpperInvariant(), "12:00 AM - 12:00 AM"}
  };
  
  Regex AliasReplacementRegex = new Regex(string.Join("|", Replacements.Keys),
      RegexOptions.Compiled | RegexOptions.IgnoreCase);
  
  var input = AliasReplacementRegex.Replace(token, m =&gt; Replacements[m.Value.ToUpperInvariant()]);
  </code></pre>
  
  <p>where <code>token</code> is parameter.</p>
  
  <p>In one of my cases I have input string like <code>"Mo-Th: 12 - 12"</code>
  How can I match it? 
  It is almost what I expect except additional spaces? 
  Is there any option except adding it to my Regex Rules?</p>
  
  <hr>
  
  <p>UPD : 
  Is next update correct solution for my case? seems like it is working, but maybe some case which will breal it all.</p>
  
  <pre><code>Regex AliasReplacementRegex = new Regex(string.Join("|", Replacements.Keys),
          RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace);
  </code></pre>