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