Minor validation improvement

I just fixed the validation so that if you do not enter (or cannot type with your keyboard) the dashes in the reg code, it will realise this and still work.
Just thought I’d mention it in case anyone starts reading posts out of date on the topic.