How can I ban an exact word ?
For example, if I would like to ban the word 'apple' and add that to spamfilter,
it'll catch 'apple' as well as 'an apple a day', 'applet' and 'dapple'.
If I do ^apple$, it'll only catch the exact 'apple' word and the sentences like 'an apple a day' and 'an apple is' will escape but 'applet' and 'dapple' will not be mistakenly caught though.
I wonder how can i modify it so that, the spamfilter will catch only, 'apple' , 'an apple a day', 'an apple is' but will not catch, 'applet', dapple', etc...
Thank you all...!
Exact Word regex
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Exact Word regex
May I ask why you wish to do this?
-
- Posts: 30
- Joined: Sat Jun 02, 2007 1:46 pm
Re: Exact Word regex
I just want to ban a bad word without affecting other innocent users. Moreover, it can also help my knowledge right ?
Re: Exact Word regex
Stealth: What's the alternative application of exact-word matching?
\bapple\b
\bapple\b
Why the hell can't my signature be empty?
"Your message contains too few characters."
"Your message contains too few characters."
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Exact Word regex
If you can provide for me a straight-forward no BS reason as to why you wish to forcefully block the free use of a single word on your network, then I will tell you.Annihilator90 wrote:I just want to ban a bad word without affecting other innocent users. Moreover, it can also help my knowledge right ?
Otherwise, there is no reason any single word should be forcefully blocked from use on an entire network.