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 any one can enter a random number with 18 digits
1