how to return anything that is not a certain word regex code example Example: regex diferent of /^((?!badword).)*$/g