Help With Regex Finding Every Variant of Upper or Lowercase of Word Except the Correct One

If you just want to make sure all variants are correctly spelled, then @ComplexPoint has given you the solution.
If you want to so something like highlight the misspelled variants, then you could do something like this:

  1. Find all variants using a case-insensitive Regex: (?i)fotex
  2. Compare the result with the correct spelling: foTEX
  3. If it is different, the apply the highlight style.
1 Like