79250550

Date: 2024-12-04 09:38:13
Score: 0.5
Natty:
Report link
let string = "your_text";
string = string.replace(regExp, (url) => "<a href='" + url + "'>" + url + "</a>");

try the above solution. It will replace all the URLs in your string with an anchor tag

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shanavas VH