title: Regexp skip pattern
body: <p><strong>Problem</strong></p>
  
  <p>I need to replace all asterisk symbols('*') with percent symbol('%'). The asterisk symbols in square brackets should be ignored.</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>    [Test]
      public void Replace_all_asterisks_outside_the_square_brackets()
      {
          var input = "Hel[*o], w*rld!";
          var output = Regex.Replace(input, "What_pattern_should_be_there?", "%")
  
          Assert.AreEqual("Hel[*o], w%rld!", output));
      }
  </code></pre>