Page 1 of 1

Help with regex

Posted: Thu Apr 28, 2011 2:24 pm
by Toni
Is there any chance i can block >>> * on realname ?

example this kind of realname *a*e*


» stoney (stoney@c-98-238-212-210.hsd1.ca.comcast.net) [Internic Network]
» ircname: *a*e*

Re: Help with regex

Posted: Wed Sep 28, 2011 10:31 am
by Bunkerwaiss
If the '*' is the first character, try:

Code: Select all

/spamfilter add u block - Some_Explanation_BAN_Text ^\*(.+)
You can use kill instead of block

Remember, if you wanna use ban reasons with spaces, use underscores between words, as:

Code: Select all

Some_Explanation_BAN_Text