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