Text Cleanup Workbench
Regex safety
Regex-based steps (find/replace, extract/remove matching lines) run per line and are
checked against a heuristic for common catastrophic-backtracking shapes (like
(x+)+) before running — if flagged, you'll see a warning, but the step still
runs since the heuristic isn't perfect and can be wrong in both directions. There's no way
for a page running in the main browser thread to forcibly interrupt a single regex call that's
actually hung, so the honest advice is: test an unfamiliar pattern on a small sample first.
Everything else in this tool — trimming, sorting, case conversion, and so on — runs on capped
input sizes and finishes fast enough that no progress/cancel UI is needed.