I have a pattern like this -: MW290290-12
I need to check the pattern of this using apex. How to do that?
Here MW will remain constant.
12 is the year , it may be 13,14 like this.
And number 290290 can be any number , can be of any digits.
Kindly help.