The pattern I'm looking for is this:
TXT.*\.txt
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).
Thanks!