RegEx can be tricky! Hopefully this will provide some help.
This is an example of perl-regex format which is used in Netbeans and Atom
a-c(\d[{2-2}]\d{1}?[{0-9}]\d)
This will match a-c213 as well as a-c2199