Yes, they are not useful for GUI and customers.
They are only used by the Database Administrator. I just made it for fun.
GUI just needs to check the name, location and the customer id.
So they are unnecessary.
Why not use the SimpleDateFormat to parse a date instead of such a complicated, much too long regular expression? For this assignment knowing the Java API and using it appropriately is also one of the requirements.
I do agree with my buddy Roel, but RegEx is also part of the API. In fact, I used it to validate the IP address when the application starts in client mode!
Now, these RegEx are cool. In my opinion, these should not be used in the Data class, which should be as dumb as possible. It should do whatever the business layer tells it to do, and that's where these RegEx should go, if the application had to create records as well, for instance.