Pricing Blog

Recognize links

  • ssssadsadasd-1445844184891265086

    ssssadsadasd

    13 hours ago

    what is the best way to implement a text element that recognizes links?
    so besides text you also have links that are clickable, e.g. https://discord.com/
  • Idk if it’s the best way, but it works
  • ssssadsadasd-1445869528822186034

    ssssadsadasd

    12 hours ago

    @ thanks. yeah was thinking of sth similar it just didnt seem very efficient to have a condition on every string.
    anyway very helpful for a start 🙂
  • lennartblmn-1445870572872663296

    lennartblmn

    12 hours ago

    Yeah that’s exactly the issue. I think if youre not using it for something huge Like a Blog post you should be Fine tho.

    I used this for Chat messages
    👍1
  • klevelandbishop-1445940717498269788

    Kleveland Bishop

    7 hours ago

    I use regular expression to make this one work https://aa-purple_city.toddle.site/links
  • klevelandbishop-1445942364567769160

    Kleveland Bishop

    7 hours ago

    i would treat spaces as a delimiter, turning each word into an item in an array, then run a find to see if any of the items are a link by checking against the matches formula .