please someone help me to create a regular expression for
"123456789V" this kind of pattern...
1st 9 places should be numbers and 10th place should be "V"
argent
thnx in advanced

Recommended Answers

All 3 Replies

\d{9}V

\d = any digit
{9} = repeat nine times
V

\d{9}V is correct

commented: nice value-added post -1

write in regularexpression ^[0-9]{9}[a-zA-Z]$ i t will work for u

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.