Shoutbox

Validate hyperlink using regular expressions - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Validate hyperlink using regular expressions (/showthread.php?tid=92479)

Validate hyperlink using regular expressions by Zotoaster on 10-05-2009 at 06:13 PM

Hi there.

I'm just wondering if anyone has a regexp handy that can validate whether a string is a valid hyperlink or not. Never really used regular expressions before, so it's quite tricky.

Thanks a bunch.


RE: Validate hyperlink using regular expressions by matty on 10-05-2009 at 06:15 PM

http://regexlib.com/
http://regexlib.com/REDetails.aspx?regexp_id=96


RE: Validate hyperlink using regular expressions by Zotoaster on 10-05-2009 at 06:32 PM

Thanks that's great.