What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Regular expression help... plz?

Regular expression help... plz?
Author: Message:
Baggins
Full Member
***

Avatar
B000ALFAZO

Posts: 387
Reputation: 13
30 / Male / Flag
Joined: Oct 2006
O.P. Undecided  Regular expression help... plz?
i am using a regex to parse my command:

code:
/^\/poo\s+(\S+)\s+(.+)$/i

i need to make it so that if the person only types one word after the command it will put it into the first regexp.$1 thingy.

can i just go
code:
RegExp.$1 = ""
to clear them when i am done?

thanks for your help:)

This post was edited on 12-06-2006 at 09:22 PM by Baggins.
12-06-2006 08:56 PM
Profile E-Mail PM Web 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