Answers for "javascript extract url from uri"

1

extract urls from string javascript

//use the regex
let url = string.match(/\bhttps?:\/\/\S+/gi);
Posted by: Guest on May-24-2021
0

javascript to get uri

var newURL = window.location.protocol + "//" + window.location.host + "/" + window.location.pathname + window.location.search
Posted by: Guest on December-11-2020

Code answers related to "javascript extract url from uri"

Code answers related to "Javascript"

Browse Popular Code Answers by Language