Regular expression for additional field needed

Hi,

how do I add a regular expression checker for an additional field?
I need one that only allows saves for 13 digit numbers. Any other input and the appointment should not be able to confirm.

Best regards!