piighost/au-medicare
Australian Medicare number: ten digits in the groups the card prints, sometimes followed by the individual reference number of the family member. The separators are required and the first digit runs 2 to 6, which together keep it away from the phone numbers and card numbers around it.
Label: AU_MEDICARE
Pattern (?<!\w)[2-6]\d{3}[\s-]\d{5}[\s-]\d(?:[\s-]\d)?(?!\w)
Must be caught My Medicare is 2123 45670 1 on the green card. → 2123 45670 1Quote 3456 78901 2 3 when you book. → 3456 78901 2 3
Must be left alone The number 7123 45670 1 is out of rangeReference 2123456701
Tags: au, health, government-id
Download the detector as TOML
Used by
piighost/au — Australia: phone, postal code, the business number and the Medicare number.
piighost/health — Health identifiers across nine countries: the Danish CPR number, the British NHS number, the French social security…
Related patterns
piighost/ar-dni — Argentine national identity document number, the DNI: eight digits, written solid or with a period after the second…
piighost/at-svnr — Austrian social security number, the Sozialversicherungsnummer: ten digits, a three digit serial and one check digit,…
piighost/au-abn — Australian business number: eleven digits written in groups of two then three, three, three.
piighost/au-driving-licence — Australian driver licence number.
piighost/au-passport — Australian passport number, eight or nine characters, per the Purview Australia passport definition: one letter from…
piighost/au-phone — Australian phone number: the +61 or leading 0 prefix, a single area or service digit, then eight digits.
← piighost/au-driving-licence · All patterns in the catalogue · piighost/au-passport →