I have seen from from oracle documentation I can do a|b which will match all instances of character 'a 'or character 'b'. I wondered if it was possible in regexp to have 'a' and not 'b' e.g. match all instances of 'a' except where a is followed by 'b'.
so with these 3 strings
- AAAA
- ACAD
- AAAB
I want to match 1 and 2 but not 3.