Removing "alternative" text from emails
Posted: Sat Sep 11, 2004 8:02 am
Hi. I'm a very new user of TextPipe for AskSam, and have been working with the EasyPattern mode, which seems to do most of what I have wanted, until I came to this problem. The email files (formerly saved as txt) have sections where the same text appeared in both txt and html form; the html form is usually set off between codes that look like this:
--=_alternative 07834663047574389_=
This is there the text comes.
More text....
etc.
--=_alternative 07834663047574389_=
What I'd like to do is strip out the "alternative" codes and anything that comes between them. I tried this EasyPattern in Replace mode, replacing with empty, but it doesn't work.
--=_alternative [(oneOrmore digits)1]_=
[oneOrmore paragraph]
--=_alternative [group1]_=
Another thought I had was to use the Remove Lines not matching function as a subfilter within the range of lines between the "alternative" codes and then clean those up later, but I'm not sure how to make that work.
Thanks for any help
--=_alternative 07834663047574389_=
This is there the text comes.
More text....
etc.
--=_alternative 07834663047574389_=
What I'd like to do is strip out the "alternative" codes and anything that comes between them. I tried this EasyPattern in Replace mode, replacing with empty, but it doesn't work.
--=_alternative [(oneOrmore digits)1]_=
[oneOrmore paragraph]
--=_alternative [group1]_=
Another thought I had was to use the Remove Lines not matching function as a subfilter within the range of lines between the "alternative" codes and then clean those up later, but I'm not sure how to make that work.
Thanks for any help