Rip,
> It will replace some of them but not all even when the slugs are exactly the same.
I tend to believe that the slugs are not the same as you think they are.
strtran() is going to do an exact search for the target text, things like uppercase, lowercase, spaces, carriage returns, linefeeds, rtf codes in the stream will affect your result. You should probably look at the rtf file with the hexedit.app to see if your slugs really are all the same.