On 4/12/2005, at 8:47, Charilaos Skiadas wrote: > Hm, doesn't work over here. Tried these lines: [...] Ah, the first regexp subst. should of course have been: s/^[^[:upper:]].*/-/m; \W will match all non-word characters, I wanted all non-uppercased (word) characters.