Linked Questions

Popular Questions

remove url parameters with javascript or jquery

Asked by At

I am trying to use the youtube data api to generate a video playlist. However, the video urls require a format of, but what the api generates is So what I need to do is be able to select everything after and including the ampersand and remove it from the url. Any way to do this with javascript and some sort of regular expression?

Related Questions