Match string not containing string, exclude badwords
{#regexp-main}^((?!badword).)*$
^((?!badword).)*$
Click Here