What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » url checks?

url checks?
Author: Message:
zogo
Junior Member
**

Avatar
all you are doomed

Posts: 98
Reputation: 1
30 / Male / Flag
Joined: Feb 2008
O.P. url checks?
hey im wondering if there is a way of checking a message for a url and then checking if its on a list...

this will be very usefull to a few scripts i have been wanting to make for some time and i cant seem to find any on the online docs...

cheers (Y)
people have negativly rated me saying i'm spamming just to get 100 posts... i'm not! i'm 100% realy stuck... somtimes
02-14-2009 02:36 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: url checks?
This regexp should get you started.

/(ftp|http|https):\/\/([_a-z\d\-]+(\.[_a-z\d\-]+)+)(([_a-z\d\-\\\.\/]+[_a-z\d\-\\\/])+)*/
02-14-2009 04:41 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On