How do I write a regular expression to exclude multiple characters. For example, if I have a 3-digit string, and I want to match anything EXCEPT 'ZZZ', how do I write the regexp to do that?
I've tried every combination of [^ZZZ] or [^Z][^Z][^Z] or [^(ZZZ)], nothing seems to work. Thank anyone very much for helping me out.
I've tried every combination of [^ZZZ] or [^Z][^Z][^Z] or [^(ZZZ)], nothing seems to work. Thank anyone very much for helping me out.