Skip to content

Instantly share code, notes, and snippets.

@david-poindexter
Last active February 12, 2023 19:39
Show Gist options
  • Save david-poindexter/e538deaf06b1c1cb277e8314604d93ee to your computer and use it in GitHub Desktop.
Save david-poindexter/e538deaf06b1c1cb277e8314604d93ee to your computer and use it in GitHub Desktop.
RegEx Parsing for YouTube Transcript in VS Code

FIND:

(\d{0,2}:?\d{1,2}:\d\d)(\n)(.*)(\n)

REPLACE:

<tr style="vertical-align: top;"><td><strong>$1</strong></td><td>$3</td></tr>\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment