I am looking for the regular expression to see if a string matches the format
[int]/[int]/[int]
e.g.
'98/4/76542' or '98/04/76542'
PS : I do NOT want to check a date is valid but only that the format matches the ‘n/n/n’ where n is a number.
Edit : Removed the incoorect and misleading ‘nn/nn/nnnn’, just n\n\n should be sufficient, apologies.
Use this regular expression: