mIRC Homepage
Posted By: SLiprockS Regex Help on Nick - 16/05/08 07:06 PM
I need regex help on this type of nicks
Join: * Nick: kljuire
Join: * Nick: kpepmbliebms
Join: * Nick: skrbtkthwe
i just need regex like if nick 3-32 islower that regex will catch the nick. lower and from 3-32length thats the condition i tried with /(?-i)^[a-zA-Z]{3,}?/ but didnt work what did i miss can anyone help on that ?
Posted By: Wims Re: Regex Help on Nick - 16/05/08 07:28 PM
/^[a-z]{3,32}$/ should works, do not forget to put the pattern in a variable and use it like $regex($nick,%var) because of the {3,32}
Posted By: SLiprockS Re: Regex Help on Nick - 16/05/08 07:52 PM
what would be appropriate for guest123456 case sensitive
/(?-i)^[guest]\d+$/ ?? or it could be something else
Posted By: Horstl Re: Regex Help on Nick - 16/05/08 08:27 PM
/^guest\d+$/
Posted By: Kol Re: Regex Help on Nick - 17/05/08 01:13 PM
Code:
if ($nick islower && $len($nick) isnum 3-32)
© mIRC Discussion Forums