I have given file name as
B-018 MyName
I want to check whether first four characters are in format of
'B-< Numeric >< Numeric >< Numeric >
B- will be constant for all names and i want to check if three succeeding characters are numeric.
How to do it using Regular Expressions in Java?