example:
string id;
cout << "Enter the ID: ";
cin >> id;
The format must be like this UEEW123456, which contain 4 characters in front and 6 integers at back. How can I validate and make sure the input follow this format and prompt user to enter again if he/she did not follow this format.