SyntaxFix
Write A Post
Hire A Developer
Questions
I wanted to remove "www." from a href so I did this:
"www."
const str = "https://www.example.com/path"; str.split("www.").join(""); // https://example.com/path