I want to write a simple regular expression to validate a product code as input from the user.
This product code has some rules to be respected as below: