Regex: use boundaries and simplify
Regex: detect any code with pattern '[A-Z]\d{3}'
Allow to register the same checker for different codes