Skip to content

Instantly share code, notes, and snippets.

@micha149
Created August 3, 2011 15:09
Show Gist options
  • Save micha149/1122864 to your computer and use it in GitHub Desktop.
Save micha149/1122864 to your computer and use it in GitHub Desktop.
Regular Expression to parse WebVTT
expression = /^(\d\d:\d\d:\d\d[,.]\d\d\d)\s-->\s(\d\d:\d\d:\d\d[,.]\d\d\d)\n.*(\n\n|$)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment