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

regexp problem
Author: Message:
agustin029
New Member
*

Avatar

Posts: 5
30 / Male / Flag
Joined: Feb 2012
O.P. regexp problem
how I can combine these two regex??

code:
link = msg.match(/((ftp|https|http)?:\/\/[^\s]+)/g); //returns http,https and ftp links
link2 = msg.match(/(www?.[^\s]+)/g); //returns www. links

09-21-2012 12:09 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
regexp problem - by agustin029 on 09-21-2012 at 12:09 AM
RE: regexp problem - by whiz on 09-21-2012 at 09:34 AM


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