Javascript - Advanced String Replacement with string.replace | 01Coder | Podwise