Help with regex

These are old archives. They are kept for historic purposes only.
Post Reply
Toni
Posts: 4
Joined: Wed Oct 08, 2008 5:08 pm

Help with regex

Post by Toni » Thu Apr 28, 2011 2:24 pm

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*

Bunkerwaiss
Posts: 36
Joined: Thu Dec 27, 2007 8:48 am

Re: Help with regex

Post by Bunkerwaiss » Wed Sep 28, 2011 10:31 am

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

Post Reply