Regexp skip pattern
**Problem**

I need to replace all asterisk symbols('*') with percent symbol('%'). The asterisk symbols in square brackets should be ignored.

**Example**

        [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));
        }

Regexp skip pattern
===

**Problem**

I need to replace all asterisk symbols('*') with percent symbol('%'). The asterisk symbols in square brackets should be ignored.

**Example**

        [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));
        }
