I have to check many strings which are 14 characters long. There should be at least one occurrence of 'F' in a 14 character string but not at 7th position.
Currently, I'm doing this in 2 steps.
First, check if 'F' is not present at position 7 and save them.
^.{6}[^F].{7}$
Then check if there is at least one occurrence of 'F' in the saved strings.
^[F]+$
Is there a better way to do this?