Thanks all for your replies. Very much appreciated. I didn't realize I upped the ante but it makes a big difference indeed if nested structures should be skipped.
I will try all your input out, thanks again!
Wcool
Comment on Re: Regular expressions: Extracting certain text from a line