Python Regex

Open-source Python projects categorized as Regex

Top 23 Python Regex Projects

  • py_regular_expressions

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

    Project mention: Understanding Python re(gex)? | | 2023-05-12
  • pihole-regex

    Custom regex filter list for use with Pi-hole.

    Project mention: Important Update: Changes to Blocklist Syntax Support | /r/oisd_blocklist | 2023-03-16

    There are wrappers for updating regex lists that can be modified with other URLs. This was floating around for a while: and this is another method: With enough regex tweaking I bet you could shave at least tens of thousands of lines off your list, and it could be divided into regex entries for domains where it makes sense, with the rest being non-regex domain entries. Simple regex that is functionally equivalent to AdBlock style wildcard blocks won't notably bog down the system either. It might take a few hours to get a workflow going to streamline producing such a list, but it can be done.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • secrets-patterns-db

    Secrets Patterns DB: The largest open-source Database for detecting secrets, API keys, passwords, tokens, and more.

    Project mention: secrets-patterns-db: Secrets Patterns DB: The largest open-source Database for detecting secrets, API keys, passwords, tokens, and more. | /r/blueteamsec | 2023-02-09
  • recollapse

    REcollapse is a helper tool for black-box regex fuzzing to bypass validations and discover normalizations in web applications

    Project mention: The 36 tools that SaaS can use to keep their product and data safe from criminal hackers (manual research) | /r/SaaS | 2023-05-22


  • pregex

    PRegEx - Programmable Regular Expressions

    Project mention: Introducing Fluke, a Python package to help you transfer your data between various remote locations | /r/Python | 2023-03-06

    Greetings to the Python community! Back in the summer I made a post here about PRegEx, an open source project I had made for fun, for which I received mostly positive feedback. This urged me to create Fluke, yet another open-source project, based on some issues I was having at work relating to transfering data between different cloud storage services. This project is by no means considered to be complete as I have tons of ideas regarding how it could be further expanded to tackle other issues as well. However, I think that it is now at a mature enough stage that it could help you speed up certain processes that may come up during your day-to-day work.

  • netflix-to-srt

    Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)

  • social-media-profiles-regexs

    :card_index: Extract social media profiles and more with regular expressions

    Project mention: How would I regex TikTok profile links? | /r/AutoModerator | 2023-05-09

    Admittedly I did copy most of the regexes from and updated some of them where needed.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • TUI-apps

    Terminal User Interface (TUI) apps

    Project mention: Show HN: Interactive exercises for GNU grep, sed and Awk | | 2023-08-17
  • SwagLyrics-For-Spotify

    📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.

  • dora

    Find exposed API keys based on RegEx and get exploitation methods for some of keys that are found (by sdushantha)

  • rainbow

    :rainbow: Colorize commands output or STDIN using patterns. (by nicoulaj)

  • trex

    Intelligently transform unstructured to structured data (by automorphic-ai)

    Project mention: Show HN: Generate JSON mock data for testing/initial app development | | 2023-10-03

    A friend of mine built a tool called Trex that you might find helpful, check it out here:

    It's very consistent at generating templated data.

  • simplematch

    Minimal, super readable string pattern matching for python.

  • trrex

    Efficient string matching with regular expressions (by mesejo)

    Project mention: Times faster string search in Pandas with regular expressions | | 2023-04-03
  • edify

    Regular Expressions Made Simple.

    Project mention: Update on My Regular Expression Library | /r/opensource | 2022-12-22

    Complete Docs:

  • python-hslog

    Python module to parse Hearthstone Power.log files

  • pyMigrate

    A tool for automatically migrating any python source code to a virtual environment with all dependencies automatically identified and installed. You can also use this tool to generate requirements.txt for your python code base, in general, this tool will help you to bring your old/hobby python codebase to production/distribution.

  • pihole-regex

    Custom RegEx, Exact, and Adlist filters for Pi-hole's FTLDNS (by slyfox1186)

  • proxy_web_crawler

    Automates the process of repeatedly searching for a website via scraped proxy IP and search keywords

  • datagoose

    🔐 Easy to use, fast, lightweight, secure, JSON based database for Python!

  • pyregex

    Backtracking regular expression engine written in Python

  • file_organizer

    An extensible file searching and organization tool with a couple of features including but not limited to fuzzy search

  • SaaSHub

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

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). The latest post mention was on 2023-10-03.

Python Regex related posts


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

Project Stars
1 py_regular_expressions 1,676
2 pihole-regex 1,269
3 secrets-patterns-db 828
4 recollapse 752
5 pregex 743
6 netflix-to-srt 679
7 social-media-profiles-regexs 572
8 TUI-apps 403
9 SwagLyrics-For-Spotify 309
10 dora 296
11 rainbow 247
12 trex 217
13 simplematch 171
14 trrex 131
15 edify 95
16 python-hslog 53
17 pyMigrate 50
18 pihole-regex 44
19 proxy_web_crawler 38
20 datagoose 15
21 grablinks 14
22 pyregex 8
23 file_organizer 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives