Added regular expression keystroke validation

AllowSpaces also needs to be on if you want a regular expression to also
accept spaces. [1234 5678]