FormValidation and actions

I have created a form with two inputs namely

  • License number - Ex: 152F1A99-C57D-45FF-B08D-C9847E6B4E7B
  • MAC ID

Help me do form validation for them with or without regex.