24 free alternatives to A book on Python regular expressions
Python re(gex)?" is a free book covering Python's 're' and 'regex' modules with practical examples, cheatsheets, and exercises.
Below are 24 products that do a similar job and cost nothing to start: 22 free outright and 2 with a free plan and paid upgrades. Each price was read from the product's own site. They are ranked by how close each is in meaning, then by launch-day votes.
- 1

Outlines is a Python library for controlling text generation with large language models.
2023 · github.com · price checked November 2026
- 2
FuturecoderFree▲371Some highlights: - 100% free and open source (https://github.com/alexmojaki/futurecoder), no ads or paid content. - No account required at any point. You can start instantly. (You can create an account if you want to save your progress online and across devices. Your email is only used for password resets) - 3 integrated debuggers can be started with one click to show what your code is doing in different ways. - Enhanced tracebacks make errors easy to understand. - Useful for anyone: You can have the above without having to look at the course. IDE mode…
2023 · futurecoder.io · price checked November 2026
- 3

This is a Python library for reading and writing PDF files, built from scratch by a developer focused on learning and simplicity.
2022 · github.com · price checked November 2026
- 4
Context.devFree plan, paid from $20/mo▲814Context.dev is an API that enables scraping, enriching, and extracting data from web pages for AI applications.
Jul 2026 · context.dev · price checked November 2026
- 5

Transductive regular expressions for text editing is a command-line tool that extends standard regular expressions to simplify group logic for text editing tasks.
2025 · github.com · price checked November 2026
- 6
Awesome RegexFree▲10🦉 A curated collection of regex tools, tutorials, libraries, etc.
2024 · github.com · price checked November 2026
- 7
WordllamaFree▲370Wordllama is a lightweight Python library for working with text embeddings and semantic string operations.
2024 · github.com · price checked November 2026
- 8
DocDecoderFree plan, one-time $49▲293DocDecoder is a browser extension that automatically summarizes legal policies from websites, making terms of service and other legal documents easier to understand.
2024 · docdecoder.app · price checked November 2026
- 9

This is a lightweight Python package implementing design-by-contract principles, created as a learning project for Python 3.10+ features.
2022 · github.com · price checked November 2026
- 10

An alternative to stack traces for your Go errors.
2023 · github.com · price checked November 2026
- 11

A Python sketch of a regex engine in less than 150 lines of code
2023 · github.com · price checked November 2026
- 12
fx (by Vercel)Free▲224Vercel's tiny, open-source coding agent
Aug 2026 · fx.sh · price checked November 2026
- 13
PyscnFree▲136Pyscn is a Python code quality analyzer designed for developers using AI coding assistants like Cursor and Claude.
2025 · github.com · price checked November 2026
- 14
GsubpyFree▲65Gsubpy is an interpreter that executes a subset of Python code, built from scratch in Go.
2023 · github.com · price checked November 2026
- 15
RefurbFree▲123A tool for refurbishing and modernizing Python codebases
2022 · github.com · price checked November 2026
- 16

Tiny REgular eXpression library for UTF-8 text (public domain)
2022 · github.com · price checked November 2026
- 17
LeapingFree▲120Leaping is a pytest plugin that uses an LLM to debug Python tests by analyzing execution logs in natural language.
2024 · github.com · price checked November 2026
- 18
RegolithFree▲27Regolith is a regex library for TypeScript and JavaScript that prevents Regular Expression Denial of Service attacks by using Rust's linear-time regex engine under the hood.
2025 · github.com · price checked November 2026
- 19
MonkeyPatchFree▲95MonkeyPatch is a Python tool for building LLM-powered functions that become cheaper and faster with repeated use.
2023 · github.com · price checked November 2026
- 20
RepogatherFree▲65Repogather is a command-line tool that copies relevant source files from a repository to the clipboard for use with large language models.
2024 · github.com · price checked November 2026
- 21
K(r)epFree▲21K(r)ep is a command-line string search utility designed for fast text searching across files and directories.
2025 · github.com · price checked November 2026
- 22

Compact, non-backtracking, unicode aware regular expressions in C89
2024 · github.com · price checked November 2026
- 23
Python ChallengesFree▲7I made pythonexercise.com as a simple way to practice Python with short exercises you can solve right in the browser.
2025 · pythonexercise.com · price checked November 2026
- 24

This guide compiles practical advice on pull requests and code review into a 37-page free resource.
2023 · github.com · price checked November 2026
All alternatives to A book on Python regular expressions, paid too →About A book on Python regular expressions →
Free means the product’s own site says it is free or offers a free plan, as read on the date shown. Plans change; check the site before you rely on one.