Can anyone point me to the right direction with validating a input field like this "p99” (i.e. a letter followed by two digits).

Recommended Answers

Regex would be the best..

Jump to Post

All 4 Replies

You can use a regex, or if you are using jQuery a validation plugin.

Regex would be the best..

Yeah, I managed to solve it guys. Thank you so much!!

If we help you just mark this as solve.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.