I want a regexp pattern that verify if the algerian NIN code is real or juste a suite of 18 numbers?
I have tried this /^(?=.*d)[0-9]{18}$/
but it can verify only that it is a number with 18 digits, so like this anyone can enter a random number with 18 digits.
2