Regex Vs LLM Structured Text

Decision framework and implementation patterns for choosing between regex and LLM when parsing structured text. Always activate when the user is parsing repeating structured formats (quizzes, forms, invoices, tables, documents), deciding how to extract data from text, building a text processing pipeline, or asking about cost/accuracy tradeoffs in text extraction. Also activate when the user is about to send all their text to an LLM — they almost certainly don't need to.

Yog-Sotho Updated

File contents

Yog-Sotho/claude-skills/tree/main/regex-vs-llm-structured-text commit 6f9fbc7279

Frequently asked questions

npx skillmds@latest add yog-sotho/regex-vs-llm-structured-text