showing results for - "extract urls from string javascript"
Theo
19 May 2017
1//use the regex
2let url = string.match(/\bhttps?:\/\/\S+/gi);