Page 1 of 1

How can I replace plain url with links in javaScript using regex? I have this data (altered the links because of answers

Posted: Fri May 20, 2022 2:55 pm
by answerhappygod
How can I replace plain url with links in javaScript using
regex?
I have this data (altered the links because of answers rules)
I want to detect if it has a url, and then make it
clickable.
This is what I have, but it isn't working: