I need to validate following string using Regular Expressions. These are the constraints which apply for this string.
- From beggining it has 9 numbers.
- In the end it has character 'V' or 'X'. They can be simple or capital.
- Whole length of string must be 10.
Ex: 84256142V, 547812375X
Can anyone provide me RegEx for validate this.