Given a regex how can i split filter a string like this :
"https://theuselessweb.com/ hello https://theuselessweb.com/ hello"
To a string like this :
"hello hello"
Ive tried something like
string.match(regex).join(' ')
But this doesnt reeally work Any solutions?