I am trying to shorten my users website Urls and I like to display them like in Twitters profiles.
I tried to use chracter limit with and input field and regex but in this case, I cannot add the three dots (…) after the shortend URL like Twitter does
Example
My user is giving me this url:
https://awebsitelink.com/username/subpage
Desired output:
awebsitelink.com/username/…