What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » MSN Bot. Recieve can see? but responds to can see without the?

MSN Bot. Recieve can see? but responds to can see without the?
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Need help with Regular Expression with MSN bots
This one should be more accurate as it limits the numbers to 0-255.  Though I'm a little unsure about the (?: ) part because that is what I would use in JScript to make the stuff in the brackets not get recorded seperately.
code:
/(?:1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5]\.){3}(?:1?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])/

EDIT: actually this one also works (for JScript at least as \d means any number)...

code:
/(?:1?\d?\d|2[0-4]\d|25[0-5]\.){3}(?:1?\d?\d|2[0-4]\d|25[0-5])/

This post was edited on 06-20-2007 at 12:04 PM by markee.
[Image: markee.png]
06-20-2007 12:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
MSN Bot. Recieve can see? but responds to can see without the? - by Death4ngel on 06-20-2007 at 11:24 AM
RE: Need help with Regular Expression with MSN bots - by TheBlasphemer on 06-20-2007 at 11:32 AM
RE: Need help with Regular Expression with MSN bots - by Death4ngel on 06-20-2007 at 11:52 AM
RE: Need help with Regular Expression with MSN bots - by markee on 06-20-2007 at 12:02 PM
RE: MSN Bot. Recieve can see? but responds to can see without the? - by Death4ngel on 06-27-2007 at 12:08 PM
RE: MSN Bot. Recieve can see? but responds to can see without the? - by Matti on 06-27-2007 at 04:18 PM


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