I'm using a list generated from from a directory containing multiple config files. All the config files follow the same naming convention, they start with two letters, followed by 2-3 numbers and end in .conf
aa01.conf, aa02.conf, aa03.conf, bb01.conf, bb02.conf,...zz99.conf, zz100.conf
I am only interested in the two letters at the start of the each file. How do I strip the numbers, the '.conf', and then remove all duplicates from the result?