Php String Replace Multiple Characters Python