Product key character set

Hi,

I am doing a web client validation on the product key. What are the character sets for the key? Can I safely assume it is /^[A-Z0-9\-]+$/ ?

Adding to the above, can I also assume it is going to be a fixed length string?

Yes, it's a fixed length string that is alphanumeric with dashes. Anything else is invalid.