Anyone with access to the vBulletin source code care to do me a favour?
I'm looking for a decent php/perl regexp for automatically generating the html for hyperlinks if it finds a web-address (with OR without http://) and replaces each instance with the relevant "<a href..." info.
I've found a few on the net that are pretty crappy, and tried writing my own. I get to the point where my head feels like its about to explode because regular expressions bake my noodle. The best one i've come accross is the one on vBulletin boards.
If this isn't a possibility (copyright and all that malarchy) is there anyone with a robust and reliable expression that'll do the job? Mind sending me the code?
thx all
MrJ
I'm looking for a decent php/perl regexp for automatically generating the html for hyperlinks if it finds a web-address (with OR without http://) and replaces each instance with the relevant "<a href..." info.
I've found a few on the net that are pretty crappy, and tried writing my own. I get to the point where my head feels like its about to explode because regular expressions bake my noodle. The best one i've come accross is the one on vBulletin boards.
If this isn't a possibility (copyright and all that malarchy) is there anyone with a robust and reliable expression that'll do the job? Mind sending me the code?
thx all
MrJ