04-23-2012, 10:30 AM
[eluser]CroNiX[/eluser]
[quote author="brian88" date="1335191773"]That's true InsiteFX, I wont be going that far with this project. More for fun.
So Cronix suggested 1 way to detect the url. but that would be wrapping the whole paragraph in <a> tags. Not the link. Is there a better way?[/quote]No, my way only detected if it had 'youtube.com' in the text, which was one of the things you asked. It doesn't wrap anything in tags.
[quote author="brian88" date="1335191773"]That's true InsiteFX, I wont be going that far with this project. More for fun.
So Cronix suggested 1 way to detect the url. but that would be wrapping the whole paragraph in <a> tags. Not the link. Is there a better way?[/quote]No, my way only detected if it had 'youtube.com' in the text, which was one of the things you asked. It doesn't wrap anything in tags.