I need a javascript REGEX to check that the length of the string is 9 characters. Starts with 'A' or 'a' and is followed by 8 digits.
Axxxxxxxx
or axxxxxxxx
/^[aA][0-9]{8}$/
or /^[aA]\d{8}$/
Also makes sure the x
's are digits :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With