Joke Collection Website - Mood Talk - I would like to ask about the verification regularity of passports and the verification regularity expressions of Hong Kong, Macau and Taiwan Province ID cards. Are separate. Thank you.

I would like to ask about the verification regularity of passports and the verification regularity expressions of Hong Kong, Macau and Taiwan Province ID cards. Are separate. Thank you.

Taiwan Province province: 1 English +9 number.

[A-Z][0-9]{9}

Hong Kong: 1 digit English +6 digits+(check code 0~9 or A)

[A-Z][0-9]{6}\([0-9A]\)

Macau: The first digit is 1, 5, 7, followed by 7 digits, and the last parity code in brackets is unknown whether there are letters.

[ 157][0-9]{6}\([0-9]\)

The format was searched online.