Regex needed for some type of clones

These are old archives. They are kept for historic purposes only.
Post Reply
paradoXtz
Posts: 4
Joined: Thu Sep 25, 2008 2:25 pm

Regex needed for some type of clones

Post by paradoXtz »

I need regex for these type of clones

bb4317 is [email protected] * osqsgk
bb4317 is using modes +iwRx
bb4317 is connecting from *@80.94.118.54 80.94.118.54
bb4317 on #RadioLola #Bosnia
bb4317 using Irc.BosniaKlub.Org BosniaKlub IRC chat server
bb4317 has been idle 2mins 41secs, signed on Thu Sep 25 16:20:45
bb4317 End of /WHOIS list.

nick contains 1-6 letters and maximum of 4 numbers. please help

Sorry for my bad english =)
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Regex needed for some type of clones

Post by Jobe »

More examples would be helpful please.
Your IP: Image
Your Country: Image
paradoXtz
Posts: 4
Joined: Thu Sep 25, 2008 2:25 pm

Re: Regex needed for some type of clones

Post by paradoXtz »

blablab8314 is [email protected] * fzmemb
blablab8314 is using modes +iwx
blablab8314 is connecting from *@81-67-254-140.rev.numericable.fr 81.67.254.140
blablab8314 on #Bosnia
blablab8314 using Irc.BosniaKlub.Org BosniaKlub IRC chat server
blablab8314 has been idle 7secs, signed on Thu Sep 25 18:06:21
blablab8314 End of /WHOIS list.

skej5215 is [email protected] * umydmn
skej5215 is using modes +iwx
skej5215 is connecting from *@c-67-165-49-80.hsd1.pa.comcast.net 67.165.49.80
skej5215 on #Bosnia
skej5215 using Irc.BosniaKlub.Org BosniaKlub IRC chat server
skej5215 has been idle 45secs, signed on Thu Sep 25 18:05:48
skej5215 End of /WHOIS list.

abb332 is [email protected] * xwomga
abb332 is using modes +iwx
abb332 is connecting from *@c-75-65-212-237.hsd1.ms.comcast.net 75.65.212.237
abb332 on #Bosnia
abb332 using Irc.BosniaKlub.Org BosniaKlub IRC chat server
abb332 has been idle 8secs, signed on Thu Sep 25 18:07:32
abb332 End of /WHOIS list.

blablab22 is [email protected] * vblzet
blablab22 is using modes +iwx
blablab22 is connecting from *@125.128.233.54 125.128.233.54
blablab22 on #Bosnia
blablab22 using Irc.BosniaKlub.Org BosniaKlub IRC chat server
blablab22 has been idle 1min 2secs, signed on Thu Sep 25 18:07:28
blablab22 End of /WHOIS list.

Is that ok? If you need more I will copy it to you.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Regex needed for some type of clones

Post by Jobe »

Try this regex:

^([a-z]{1,7})\d{2,4}!~?\1@[^:]+:[a-z]{6}$
Your IP: Image
Your Country: Image
paradoXtz
Posts: 4
Joined: Thu Sep 25, 2008 2:25 pm

Re: Regex needed for some type of clones

Post by paradoXtz »

Thanks you @Jobe1986 it's working :D
paradoXtz
Posts: 4
Joined: Thu Sep 25, 2008 2:25 pm

Re: Regex needed for some type of clones

Post by paradoXtz »

I have new problem. again there are clones like this

cwszldtfsdqjqk is [email protected] * vzishola
cwszldtfsdqjqk is using modes +iwrx
cwszldtfsdqjqk is connecting from *@118.98.194.154 118.98.194.154
cwszldtfsdqjqk is a registered nick
cwszldtfsdqjqk on #Bosnia
cwszldtfsdqjqk using Irc.BosniaKlub.Org BosniaKlub IRC chat server
cwszldtfsdqjqk has been idle 1sec, signed on Fri Sep 26 18:25:09
cwszldtfsdqjqk End of /WHOIS list.

ouduoaqxhcscep is [email protected] * hhuggwqa
ouduoaqxhcscep is using modes +iwrx
ouduoaqxhcscep is connecting from *@201-93-136-149.dsl.telesp.net.br 201.93.136.149
ouduoaqxhcscep is a registered nick
ouduoaqxhcscep using Irc.BosniaKlub.Org BosniaKlub IRC chat server
ouduoaqxhcscep has been idle 1sec, signed on Fri Sep 26 18:29:42
ouduoaqxhcscep End of /WHOIS list.

cnasgkioohtaoj is [email protected] * waemjxrg
cnasgkioohtaoj is using modes +iwrx
cnasgkioohtaoj is connecting from *@200.96.49.4 200.96.49.4
cnasgkioohtaoj is a registered nick
cnasgkioohtaoj using Irc.BosniaKlub.Org BosniaKlub IRC chat server
cnasgkioohtaoj has been idle 0secs, signed on Fri Sep 26 18:27:47
cnasgkioohtaoj End of /WHOIS list.

zivxmkahwyaxht is [email protected] * bqqwobjx
zivxmkahwyaxht is using modes +iwrx
zivxmkahwyaxht is connecting from *@189.51.250.3 189.51.250.3
zivxmkahwyaxht is a registered nick
zivxmkahwyaxht using Irc.BosniaKlub.Org BosniaKlub IRC chat server
zivxmkahwyaxht has been idle 0secs, signed on Fri Sep 26 18:25:50
zivxmkahwyaxht End of /WHOIS list.

ozjulxkeavcllb is [email protected] * kmgdtclj
ozjulxkeavcllb is using modes +iwrx
ozjulxkeavcllb is connecting from *@200.149.12.62 200.149.12.62
ozjulxkeavcllb is a registered nick
ozjulxkeavcllb on #Bosnia
ozjulxkeavcllb using Irc.BosniaKlub.Org BosniaKlub IRC chat server
ozjulxkeavcllb has been idle 1sec, signed on Fri Sep 26 18:25:54
ozjulxkeavcllb End of /WHOIS list.

jqbxbslfllgjzo is [email protected] * rpytckqp
jqbxbslfllgjzo is using modes +iwrx
jqbxbslfllgjzo is connecting from *@210.57.219.5 210.57.219.5
jqbxbslfllgjzo is a registered nick
jqbxbslfllgjzo on #Bosnia
jqbxbslfllgjzo using Irc.BosniaKlub.Org BosniaKlub IRC chat server
jqbxbslfllgjzo has been idle 1sec, signed on Fri Sep 26 18:29:40
jqbxbslfllgjzo End of /WHOIS list.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Regex needed for some type of clones

Post by Jobe »

Try:
^[a-z]{14}!~?[a-z]{5}@[^:]+:[a-z]{8}$
Your IP: Image
Your Country: Image
Post Reply