Hello i come across with a kind of bot attack.
Bots only writes one word. like " a "
Such As;
<k_nDm> a
How can i write a regex for only one word? but if the word has other words next to it, it will not block the message...
so if someone writes "ab" then it wont be blocked.
anybody can help?
One Word Regex
not sure but it will be ok
/spamfilter + cpnN block - test (^\s.\s$|^\s.$|^.\s$|^.$)
--------------------
IRC Network [ irc.globalogc.org ]
Website [ http://www.globalogc.org ]
Email [ [email protected] ]
/spamfilter + cpnN block - test (^\s.\s$|^\s.$|^.\s$|^.$)
--------------------
IRC Network [ irc.globalogc.org ]
Website [ http://www.globalogc.org ]
Email [ [email protected] ]
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Code: Select all
^\s?.\s?$