Hi Lennart "Lennart Borgman (gmail)" writes: >> It's a good idea to use a sed pipe. But it doesn't matter how much >> there is to type, since I need the expression for a function. So I >> only have to type it once. > > Then it is probably much easier to use two step aproach: > > 1) use a simpler regexp > 2) test if "subtitle" was in the match This is going to be my first function ever. I will try if I can do it that way. Thanks Sven