Regex needed for this

These are old archives. They are kept for historic purposes only.
Post Reply
nectar
Posts: 4
Joined: Wed Mar 05, 2008 5:29 pm

Regex needed for this

Post by nectar »

I need help for this:

Flayt3[x]0274 (uielks@
Flayt3[x]2705 (tohbvj@
Flayt3[x]3781 (hstqpx@
Flayt3[x]4848 (ajsbc@
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Regex needed for this

Post by Jobe »

Try:
^Flayt3[x]\d{4}!~?[a-z]{6}@
Your IP: Image
Your Country: Image
nectar
Posts: 4
Joined: Wed Mar 05, 2008 5:29 pm

Re: Regex needed for this

Post by nectar »

don't work :(
zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Regex needed for this

Post by zEkE »

How about:

^Flayt3\[x\]\d{4}!~?[a-z]{5,6}@

?
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/
nectar
Posts: 4
Joined: Wed Mar 05, 2008 5:29 pm

Re: Regex needed for this

Post by nectar »

don't work. :|
zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Regex needed for this

Post by zEkE »

It seems your bots no longer match merely what you gave us to work with.
[13:00:25] * *** Spamfilter added: '^Flayt3\[x\]\d{4}!~?[a-z]{5,6}@' [target: u] [action: kill] [reason: testing] on Sun Oct 5 17:00:37 2008 GMT (from zEkE!~[email protected])
[13:01:17] * [Spamfilter] Flayt3[x]0274!~[email protected] matches filter '^Flayt3\[x\]\d{4}!~?[a-z]{5,6}@': [NICK: 'Flayt3[x]0274!~uielks@c-*-*-*-*.hsd1.va.comcast.net:http://*.wordpress.com/'] [testing]
No problem for me..

What the regex will match is:
Flayt3[x], followed by 4 numbers, with an ident of ~ optional, and 5 or 6 letters.
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/
Post Reply