title: Removing image and link tags in markdown (md) file using bash, preferably sed, command
body: <p>I have markdown (md) files, on a git wiki, that I am changing to html. I don't want to include the images and links in the html file. Our images in markdown looks like this:</p>
  
  <pre><code>![Alt text](/path/to/img.jpg "Optional title")
  </code></pre>
  
  <p>Where as our markdown links looks like:</p>
  
  <pre><code>[I'm an inline-style link](https://www.google.com)
  </code></pre>
  
  <p>The only real different is the '!' character. I am writing a shell script to do everything. What is a bash command(s) to remove the entire image and link tag? Here is a more basic sed stack question:</p>
  
  <p><a href="https://stackoverflow.com/questions/17522855/how-to-remove-square-brackets-and-any-text-inside">How to remove square brackets and any text inside?</a></p>
  
  <p>ps. can you include a smile in your answer? I am tired and want to go home.</p>