Check out our list of commonly used Australian formatting for custom regex ticket fields in Zendesk. Stay tuned for new additions!
Date Formats:
-
^(([0-9])|([0-2][0-9])|(3[0-1]))\/(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$
Matches |
30/10/1967 30/10/67 1/1/1967
|
---|
Description: Simple UK/AU Date Format dd/mm/yy or dd/mm/yyyy.
Australian or New Zealand Phone Number Formats:
-
^\({0,1}((0|\+61)(2|4|3|7|8)){0,1}\){0,1}(\ |-){0,1}[0-9]{2}(\ |-){0,1}[0-9]{2}(\ |-){0,1}[0-9]{1}(\ |-){0,1}[0-9]{3}$
Matches |
0403111111 | (03) 1111 1111 | +61403111111 | 02 9111 1111 |
0403 111 111 | 91111111
|
---|
Australian or New Zealand Post Code Formats:
-
(0[289][0-9]{2})|([1345689][0-9]{3})|(2[0-8][0-9]{2})|(290[0-9])|(291[0-4])|(7[0-4][0-9]{2})|(7[8-9][0-9]{2})
Matches |
0200 | 7312 | 2415
|
---|
Description: Accurate Australian postal code verification. Australia has 4-digit numeric postal codes with the following state-based specific ranges. ACT: 0200-0299 and 2600-2639. NSW: 1000-1999, 2000-2599 and 2640-2914. NT: 0900-0999 and 0800-0899. QLD: 9000-9999 and 4000-4999. SA: 5000-5999. TAS: 7800-7999 and 7000-7499. VIC: 8000-8999 and 3000-3999. WA: 6800-6999 and 6000-6799.