Wyodrębnij adresy URL z String JavaScript
//use the regex
let url = string.match(/\bhttps?:\/\/\S+/gi);
Potato Poteto
//use the regex
let url = string.match(/\bhttps?:\/\/\S+/gi);