regex except pattern code example
Example: regular rexpression except
// Search everything but strings not include 'validate'
let reg = /^((?!validate).)*$/
let str = "https://yourdomain.com/validate"
// Search by charactor, exlcue all the chars in charachter_to_not_match
let reg = /[^charachter_to_not_match]*/