Regular expression to check if digit is at specific place


I’m new to the regular expression

I need a regular expression that validates an ID number
the ID number has 9 digits,
the fifth digit on the ID number should be 1 or 2

Source: JavaSript – Stack Overflow

November 24, 2021
Category : News
Tags: javascript | regex

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.