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)
The match method will return null if there is no match.
match
null