> Ah, ok. I knew about non-greedy mode using a ?, but didn't think it > would match 0-length strings. > Yay, ([A-Z][^A-Z]*) works great! > Thanks. Hi Matt, One more suggestion. The Regex Coach is a great tool for experimenting with regular expressions, if you have a Windows PC to hand. http://www.weitz.de/regex-coach/ . Jason