RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find subtitles SRT - timestamp
Expression
^([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1} --> ([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1}(.*)$
Description
e. g. HH:MM:SS:ttt --> HH:MM:SS:ttt; $1 is start hour; $2 is start minute; $3 is start second; $4 is start s/1000; $5 is stop hour; $6 is stop minute; $7 is stop second; $8 is stop s/1000;
Matches
00:12:35,126 --> 00:12:35,526
Non-Matches
00:59:35,126 --> 00:60:20,500 | 00:16:20,200 --> 00:16:20,30 | 01:01:01.000 --> 01:01:01.900
Author Rating: Not yet rated. Juraj Hajdúch (SK)
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials