title: Regex for The Same Pattern Multiple Times in One Line
body: <p>The pattern I'm looking for is this:</p>
  
  <pre><code>TXT.*\.txt
  </code></pre>
  
  <p>That pattern can occur multiple times in any given line. I would like to either extract each instance of the pattern out or alternatively delete the text that surrounds each instance using sed (or anything, really).</p>
  
  <p>Thanks!</p>