I did not find on the internet a mask in the format BBB-1234 for car signs, the ones I found only validate when the field loses focus and even then only say if it is valid or invalid .
You would need something in the first 3 characters to accept letters, add the dash, and, in the next 4 characters, only accept numbers.