Question Detail
How to get Regular expression to validate Addhar Card Number
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
Correct Answer
Anonymous
- 4 years 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">
</form>
Something More