how to negate a regex code example Example: regex negate ^(?!.*bar).*$ serial_number: [^((?!null).)*$]+