I need to write a regular expression for a flex program where it finds duplicate characters and rejects them, for example it approves of ABD but not ABDA or AABD because “A” is repeated in the expression. This has me banging my head for a week now, thanks in advance for your time.
Share
If is in case insensitive: