Home>replace() JavaScript String Method>Edit It: Replace '900xxxx' with 'Mary, who has 900 £40m dogs,'Edit It: Replace '900xxxx' with 'Mary, who has 900 £40m dogs,'This code shows how to replace a string with another string.See it on StackBlitz