I have a large email inbox file, with some useful data within it. I would like to extract, the next 140 characters (excluding whitespace and newlines) after a keyword eg. "START".
2 years ago I did this with a character by character loop, testing for the word, striping out lots of text, and then getting rid of the whitespace.
Now, however, I'm thinking that there must be a way of doing this with a regex. Could anyone give me a pointer in the right direction?