Regex any character except. … [^b] matches a character that is not a b.