Hi Dr Byte,
Nice one, this has worked - although your regular expression did not quite work as it cut off some of the name of the group and did not take out the spaces. I have just shortened it to [\s] so it's working fine now.
Just one thing: Although I have now done it your way, I had thought I'd add a column to the table and put the template name in there. Would you think that's a bad idea?
Thanks
Christoph
Bookmarks