title: Regex to identify a string and to remove href of that string
body: <p>I would like to remove anchor tag for "check out the slideshow". Check out the slideshow text can change. So, we have to identify with #show-gallery from the href.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var jStr = $('.gallery-wrapper').html();
  cStr = jStr.Replace('/#show-gallery/','');</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='gallery-wrapper'&gt;&lt;div class='knot-slideshow' data-slideshow-slug='oatmeal-with-kids-0' data-slideshow-id='266039'&gt;&lt;/div&gt;&lt;ul class='knot-slideshow-data' style='display:none;'&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;You know the song "Me and My Shadow"? Well that is exactly the tune that comes to mind whenever I watch Mike and Noah. Literally.&lt;/p&gt; &lt;p&gt;If Mike is around you can be sure that Noah is right there. Next to him. At all times. And it doesn't matter what Mike is doing. Shoveling, putting the recycling together - whatever the situation, Noah is there to "help".&lt;/p&gt; &lt;p&gt;He adores his daddy, and wants to do everything Daddy does. And while this is not always so convenient for Mike (as a 4-year-old's idea of "help" is questionable, at best), it does come in handy at breakfast. Noah is delighted when Mike can join us for breakfast, and wants to have whatever he is having.&lt;/p&gt; &lt;p&gt;Fortunately, Mike is a very healthy eater, and often has a big bowl of oatmeal in the morning. So I was delighted to have the opportunity to sample &lt;a href="http://www.quakeroats.com/products/hot-cereals/perfect-portions/maple.aspx"&gt;Quaker Perfect Portions&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.kitchendaily.com/read/eating-oatmeal-with-kids/#show-gallery"&gt;Check out the slideshow above&lt;/a&gt; to learn more about &lt;a href="http://sherisilver.com/2013/05/17/like-father-like-son-sponsored-post/"&gt;Donuts, Dresses And Dirt&lt;/a&gt;'s oatmeal breakfast!&lt;/p&gt; &lt;p&gt;Disclosure: Compensation and product for this post was provided by Quaker, via Media. All opinions expressed here - as always - are completely my own, and are not indicative of the opinions or positions of Quaker.&lt;br /&gt; &lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>So my final snippet should look like </p>
  
  <pre><code>&lt;div class='gallery-wrapper'&gt;&lt;div class='knot-slideshow' data-slideshow-slug='oatmeal-with-kids-0' data-slideshow-id='266039'&gt;&lt;/div&gt;&lt;ul class='knot-slideshow-data' style='display:none;'&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;You know the song "Me and My Shadow"? Well that is exactly the tune that comes to mind whenever I watch Mike and Noah. Literally.&lt;/p&gt; &lt;p&gt;If Mike is around you can be sure that Noah is right there. Next to him. At all times. And it doesn't matter what Mike is doing. Shoveling, putting the recycling together - whatever the situation, Noah is there to "help".&lt;/p&gt; &lt;p&gt;He adores his daddy, and wants to do everything Daddy does. And while this is not always so convenient for Mike (as a 4-year-old's idea of "help" is questionable, at best), it does come in handy at breakfast. Noah is delighted when Mike can join us for breakfast, and wants to have whatever he is having.&lt;/p&gt; &lt;p&gt;Fortunately, Mike is a very healthy eater, and often has a big bowl of oatmeal in the morning. So I was delighted to have the opportunity to sample &lt;a href="http://www.quakeroats.com/products/hot-cereals/perfect-portions/maple.aspx"&gt;Quaker Perfect Portions&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Check out the slideshow above to learn more about &lt;a href="http://sherisilver.com/2013/05/17/like-father-like-son-sponsored-post/"&gt;Donuts, Dresses And Dirt&lt;/a&gt;'s oatmeal breakfast!&lt;/p&gt; &lt;p&gt;Disclosure: Compensation and product for this post was provided by Quaker, via Media. All opinions expressed here - as always - are completely my own, and are not indicative of the opinions or positions of Quaker.&lt;br /&gt; &lt;/p&gt;
  </code></pre>