title: Sed replace between and including 2 patterns
body: <p>Hi guys I am doing the following</p>
  
  <pre><code>sed -i -e 's/[.*]//g'
  </code></pre>
  
  <p>I am trying to remove 2 known patterns and everything inbetween for each line.</p>
  
  <p>From</p>
  
  <pre><code>[01]Hello
  I am[abc]
  [123abc]Chris
  </code></pre>
  
  <p>To</p>
  
  <pre><code>Hello
  I am
  Chris
  </code></pre>
  
  <p>Can anyone spot where I am going wrong?</p>