Tips and tricks

RegEx match .srt format

If you have a project and have to read .srt format in javascript – this is the post for you. This is the regular expression that matches the format in .srt files.

([0-9]+(?:.[0-9]*)?)[sS]*?(.*-->.*)[sS]*?(w+.*)[n|r]

test here – http://regexr.com?38d0s

  • hunkydory-home March 22, 2015 at 4:38 pm

    I research and encounter at home. Thanks the developers for a amazing resource..!

  • www.happyanimalscanthink.com June 6, 2015 at 9:11 am

    was just read your article that was really superb got much pleasure to read that post. please keep sharing post like that.thanks for share with us for this post.good bye.

  • baselinehealthgroup June 7, 2015 at 12:15 pm

    Since I have studied this poems, I knowed best cheap android phones that wirting a great poems is difficult. Also I think the techology is so important~

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}