If you remove the part about well-known tlds, you don't need the token replace anymore, do you?