Hi,
I have a variable string and I would like to check whether it contains the following or not:
“digit”+“digit”+“:”
For example: “02:”, “45:”, “13:”, “88:” etc.
I tried the following but it didn’t work:
myString.indexOf(/[0-9]{2}$/+':')
Thanks for any ideas.