> Please see my other postings in this thread. I posted the regexp that > matches RFC822 (except for nested comments). It's about 8000 > characters long. > > PLEASE READ THE REST OF THIS THREAD. > I'm sorry. Although I had been reading the rest of the thread, I forgot about your solution. Probably because it was so short :-) Maybe we should use a context free grammer instead of regexp, so we can deal with the nested comments. But that's for later. Regards, Paul.