Stop New Line Python String Replace Substring In Javascript W3schools