I just realised I am to blame as I showed you how to chain 2 replace methods together in another thread. But if you are doing this many calls to replace then I strongly urge using the StringBuilder class instead.