Hi Bastien Bastien writes: > pp\.[ \n][0-9]+ > > ? > > See (info "(elisp)Regular Expressions") Thanks, I've tried that already, but it's just not working. Try it with the following: text pp. 44 text text text text text text text text text text pp. 54 text Greetings Sven