uh, that was fast!
thx, i will give it a try.

aehm, is it possible to put the bad word in an array and test this.




On 22 Sep., 13:31, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> return !/bad|word|must|not|match/.test(value);
>
> Jörn
>
> On Mon, Sep 22, 2008 at 1:25 PM, tobaco <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > i'm using the excellent validate-plugin and it works like a charm.
> > now i want to test the text in a textarea against a list of bad words.
>
> > how must be the syntax of the custom validation rule?
> > i'm very bad in regex …
>
> > thanks in advance,
>
> > tobaco

Reply via email to