How do I write a regular expression that matches a particular string in all combinations of upper and lower case letters except for one?
For example, take the string "SuperMario". What regular expression matches that string in all other combinations of upper and lower case letters?
The regular expression should match:
- sUPERmARIO
- Supermario
The regular expression should not match:
- SuperMario
- Supermari
Perl compatible regular expression preferred.