Your expression reads: one or more digits followed by a 0 or more white spaces followed by a digit or capital letter. There is no cap(3) here. Did you really think this expression would match a string such as "INAP1212"?

Quote Originally Posted by StarRocks
Guys i have Vehicle number as INAP1212 now what i need is each and everytime the last four should always be digits and should not be 0000