I have this regex on Javascript
var myS = \"00 - ??:??:?? - a\"; var removedTL = myS.match(/^(\\d\\d) - (\\?\\?|10|0\\d):(\\?\\?|[0-5]\\d):(\\?\\?|[0-5]\\d)
var myS = "00 - ??:??:?? - a"; var patt = new RegExp("^(\d\d) - (\?\?|10|0\d):(\?\?|[0-5]\d):(\?\?|[0-5]\d) - (.*)"); var removedTL = patt.test(myS);
removedTL will hold a boolean value true if matched, false if not matched