who knows the easiest way to replace an url in a string so that it becomes an url when loaded again
after the url it's possible to have a return or an space
does anybody know a neat way to do this ??
Code:
so
bbla bla bla [URL unfurl="true"]http://www.mywebsite.com[/URL] blabla
translate to
bbla bla bla <a href=[URL unfurl="true"]http://www.mywebsite.com[/URL] >[URL unfurl="true"]http://www.mywebsite.com</a>[/URL] blabla
after the url it's possible to have a return or an space
does anybody know a neat way to do this ??