I need a regex that matches a string with the following specifications:
> At least one alpha-numeric character, followed by one or zero '?' or one or zero '!', but does not contain both '?' and '!'. Examples of valid strings: 'xyz', 'zy!', 'Xy?'
I have come up with this so far, which does not work:
[0-9]|[a-z] + ?! + ?? ^[^<>]+$