Hi all,
I'm in a situation where I have a string of raw text where I want to find all links (starting with Http://) and place <a href="thelink"> before the start of the link and then a </a> after the link. The problem is, that I don't know when the link ends. I.e.:
(http://www.mylink.com)
In the above example, I am able to find the start of the link: http:// but I don't know when the link ends, so it would take the ) aswell.
Can anyone shed some light on this? Should I be using some sort of a RegEx pattern?
Thanks a lot in advance.
All the best,
Bo