I'm looking for a way to linkify a string that contains the following...
Lorem ipsum, Lorem ipsom Instagram: @instausername Lorem ipsum
the code need to make this "Instagram: @instausername"
into this "<a href='https://www.instagram.com/@instausername'> Instagram: @instausername<a/>"
. So the final string should look like this..
Lorem ipsum, Lorem ipsom <a href='https://www.instagram.com/@instausername'> Instagram: @instausername<a/> Lorem ipsum
I'm not that familiar with regex but I suppose it can be solved using regex, can anyone please help?