Regex

Match if it has notes or twitter in input ^(?=.*(?:notes|twitter)).*

Match all that don't have notes or twitter in input ^(?!._(?:notes|twitter))._

Last updated