Python String Replace Multiple Substrings In Java