# Clean subtitle text for language practice

Remove timestamp lines from a copied subtitle excerpt and keep the original sentences.

## Result

00:00:01,000 --> 00:00:03,000
Hello, how are you?
→
Hello, how are you?

## Before you start

An AI coding tool and a short subtitle excerpt you have permission to use.

## Quick start

1. Build the formatter with a small, permitted excerpt.
2. Compare every output line against the input.
3. Copy the plain text for your own study notes.

## Rebuild

Build a standalone local page that converts an SRT subtitle excerpt into plain study text. Let me paste text, preview the transformation and copy the result. Remove only valid SRT sequence-number lines and timestamp lines. Keep dialogue punctuation, speaker labels, line breaks within dialogue and original language. Do not translate, summarize or change words. Display input/output line counts and explain which patterns were removed. Render text safely without interpreting HTML or scripts. Do not access external URLs or store pasted content. Include tests for malformed timestamps, numbered dialogue, empty input and non-English text.

## Limits

Malformed or unusual subtitle formats may need manual cleanup. Only process text you are allowed to use.

Starter example; questions are welcome, with no ongoing support commitment.

---
Maintainers: x-ify
Attribution: Disposable · original starter recipe
Reuse terms: CC0-1.0
Version: 94f352b6ced4
