mcpField

regex-vs-llm-structured-text

affaan-mData & databases10.4k installs

About regex-vs-llm-structured-text

Decision framework for parsing structured text (quizzes, forms, invoices, receipts, tables) with a hybrid regex-first pipeline: regex extraction handles 95%+ cheaply, a confidence scorer flags low-confidence items, and an LLM validator fixes only the edge cases. Use when choosing between regex and LLM for text extraction, building a low-cost document parser, or optimizing extraction cost and accuracy.

Install

Copy the command and run it in a terminal.

$npx skills add https://affaan-m/ecc --skill regex-vs-llm-structured-text

After installing, type/regex-vs-llm-structured-textin Claude Code to confirm it loaded.

Comments

Markdown supported