Hello Yutaka,

I’m trying to make it as easy as possible, I just want to check for any of these combo’s and put a space between them and je, only if these are surrounded by a space or are at the beginning or end of a line.

So…. I don’t think I can make it simpler than that. :-D

document.selection.Replace("(rn| )(denk|wil|dacht|kan|wilde|ben|zie)je(rn| )","12 je3",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);