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

Must be left alone

Tags: au, health, government-id

Download the detector as TOML