Checking Letters in a table

Hello! I did not know if there was a way to specifically check letters in a table (1-2 letters in the answer)

Specifically Screen 11 here

There isn’t really - you can either match latex like you are doing (which has the problem of it needing to match the input exactly), or you can kind of fake it using patterns and treating the letters like variables in a function.

So for two letters, essentially treating it like a product of two literals. This gives a bit more flexibility to it, I think. I edited screen 11 to show what I mean.