A simple replacement for ants replace with replacetoken.