regex cannopt have word in any form code example Example: regex negate ^(?!.*bar).*$ serial_number: [^((?!null).)*$]+