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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.