I am getting data from an api that I want to detect URLs in and turn them into anchor tags
const turnIntoLink =(text)=>{ const urlRegex = /(\\b(https?|ft