PDA

View Full Version : Check for a link



king2k5
04-25-2007, 11:08 PM
I have a chat, and when someone posts a link, i would like it to convert it to [link] which would be clickable, instead of having a big long URL.. how would i go about doing that?

GO ILLINI
04-26-2007, 04:14 AM
Your going to want to check out regular expressions.
Good luck with that. Learn how yourself or get one of the masters to help you out.

-Adam

westmatrix99
04-26-2007, 10:18 AM
I have a chat, and when someone posts a link, i would like it to convert it to [link] which would be clickable, instead of having a big long URL.. how would i go about doing that?

How does the script look currently?
Maybe it just needs a tweak?:D

Cheers

Mhtml
04-27-2007, 06:27 PM
Best way? Search the forums of course, this has been discussed many times. There have been some very decent patterns posted in the past.