Regex

Top 23 Regex Open-Source Projects

  1. ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Stop struggling with Rust CLI tool installs: the only guide you need (Mac, Linux, Windows) | dev.to | 2025-06-19

    ripgrep GitHub Fast alternative to grep

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. learn-regex

    Learn regex the easy way

  4. fd

    A simple, fast and user-friendly alternative to 'find'

    Project mention: Digging Through Linux: Must-Know Tools for File and Content Searches | dev.to | 2025-04-30

    fd GitHub

  5. AndroidUtilCode

    :fire: Android developers should collect the following utils(updating).

  6. outlines

    Structured Outputs

    Project mention: Taming LLMs: How to Get Structured Output Every Time (Even for Big Responses) | dev.to | 2025-07-11

    To get started, install Outlines (pip install outlines) and experiment with the examples above. If you’re working on a project that needs structured LLM output, give Outlines a try and check out the official docs for more details. Want to dive deeper into FSM logic or specific integrations? Let me know in the comments!

  7. grex

    A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

  8. sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: Bzip2 crate switches from C to 100% rust | news.ycombinator.com | 2025-06-17

    There is sd, not a drop in replacement though.

    https://github.com/chmln/sd

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. hyperscan

    High-performance regular expression matching library

    Project mention: Show HN: Less Slow C++ | news.ycombinator.com | 2025-04-18

    You can beat CTRE throughput with a non-compile-time solution. My first recommendation will be to look at HyperScan. It has remarkable throughput: https://github.com/intel/hyperscan

    I’ve only avoided it in the tutorial, as I want to keep the build system lean. I wouldn’t be surprised if it’s 10x faster than Boost in the average case.

  11. melody

    Melody is a language that compiles to regular expressions and aims to be more readable and maintainable

  12. i-hate-regex

    The code for iHateregex.io 😈 - The Regex Cheat Sheet

  13. magic-regexp

    A compiled-away, type-safe, readable RegExp alternative

  14. regex-vis

    🎨 Regex visualizer & editor

  15. regexlearn.com

    Learn RegEx step by step, from zero to advanced.

    Project mention: Ask HN: How did you learn Regex? | news.ycombinator.com | 2024-08-08
  16. regex

    An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.

    Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19

    Yes. I'm the one who implemented the case folding the `fd` uses (via its regex engine).

    See: https://github.com/rust-lang/regex/blob/master/UNICODE.md#rl...

    And then Unicode itself for more discussion on the topic: https://unicode.org/reports/tr18/#Simple_Loose_Matches

    TR18 used to have a Level 3[1] with the kind of locale-specific custom tailoring support found in GNU's implementation of POSIX locales, but it was so fraught that it was retracted completely some years ago.

    [1]: https://unicode.org/reports/tr18/#Tailored_Support

  17. xregexp

    Extended JavaScript regular expressions

  18. micromatch

    Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch's author: https://github.com/jonschlinkert

    Project mention: Problem with CVEs on OSS Projects | news.ycombinator.com | 2024-08-23

    Probably best to link to specific comment: https://github.com/micromatch/micromatch/issues/264#issuecom...

  19. ugrep

    🔍 ugrep 7.5 file pattern searcher -- a user-friendly, faster, more capable grep replacement. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more

    Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19
  20. comby

    A code rewrite tool for structural search and replace that supports ~every language.

  21. cheat-sheet-pdf

    📜 A Cheat-Sheet Collection from the WWW

  22. HackVault

    A container repository for my public web hacks!

  23. emoji-regex

    A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  24. py_regular_expressions

    Learn Python Regular Expressions step by step from beginner to advanced levels

  25. scripting_course

    :notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Regex discussion

Log in or Post with

Regex related posts

  • Using Regex with Express

    1 project | dev.to | 11 Jul 2025
  • Bzip2 crate switches from C to 100% rust

    7 projects | news.ycombinator.com | 17 Jun 2025
  • Ask HN: YAML or Markdown for Personal Notes?

    1 project | news.ycombinator.com | 14 Jun 2025
  • Vim, the After Life

    1 project | news.ycombinator.com | 17 Feb 2025
  • Show HN: Comparing Docker minimal image size for a JSON API in various languages

    2 projects | news.ycombinator.com | 13 Feb 2025
  • Ask HN: How do you manage ideas, tasks, notes and other stuff?

    2 projects | news.ycombinator.com | 22 Nov 2024
  • One-Liner for Finding Typos

    3 projects | dev.to | 28 Oct 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 12 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Regex projects? This list will help you:

# Project Stars
1 ripgrep 53,636
2 learn-regex 46,034
3 fd 38,663
4 AndroidUtilCode 33,596
5 outlines 12,024
6 grex 7,512
7 sd 6,365
8 hyperscan 5,046
9 melody 4,689
10 i-hate-regex 4,519
11 magic-regexp 4,106
12 regex-vis 4,062
13 regexlearn.com 3,791
14 regex 3,729
15 xregexp 3,331
16 micromatch 2,934
17 ugrep 2,855
18 comby 2,507
19 cheat-sheet-pdf 2,032
20 HackVault 2,005
21 emoji-regex 1,810
22 py_regular_expressions 1,796
23 scripting_course 1,405

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com