I have created a custom form with multiple fields and each field's validator is set to Custom (Regular Expression). All the other fields work just fine except for one field. The field has the Regular Expression set to ^0\d{6}$
I have also tried ^[0]\d{6}$
The user is to enter a 7 digit number that must begin with zero (0). The ticket throws a validation error if the field in question doesn't begin with a zero (0); is more than a total of 7 digits including the zero; and/or is less than 7 digits. The problem is there are time the user will need to enter 7 zeros. I have checked my Regular Expression on different websites and with those much more experienced than me. All say either expression is correct. You can look and test the expression here: RegEx101
Server Info:
osTicket Version v1.14.3 (f4f5bc6) — Up to date
Web Server Software Apache/2.4.29 (Ubuntu)
MySQL Version 5.7.30
PHP Version 7.4.10