Question Detail

Need help on validating Addhar Card Number with the regular expression. It's 12 digit number. in the following format. It can contain 0 to 9 digits.

Eg. 0000 0000 0000

Thread Reply


- 1 years ago

Try this regex:

Correct Answer


- 11 months ago

<form action="verify_aadhar.php">
Country code: <input type="text" name="addhar_Card"  pattern="^\d{4}\s\d{4}\s\d{4}$" title="Addhar Card">
<input type="submit">


- 7 months ago

You can use this code in Jquery also