Pythex

Python regex tester that runs the re module in the browser

72.0
Score in best regex testers
Check pythex.org (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 7 of 8 in best regex testers

Runs Python's own re module in the browser, with its flag toggles, match modes and the Python source for each test. Unlike regex101, it checks Python only, so it fits Python developers who need that one engine.

Best for Python developers testing re patterns

About Pythex

Pythex matches a pattern against a test string in finditer, search or fullmatch mode, and shows the match result, the captures and a pattern debug output. A cheat sheet covers re syntax, including special sequences, lookarounds, named groups and conditional matches. The page loads a Python environment in the browser, so the first run waits while it starts.

Pythex tests Python only, so it does not check JavaScript, PCRE or other flavors. Because it runs Python's own re module, its results follow Python's behavior rather than an imitation of it. The homepage says it was inspired by Rubular and points to the official re module documentation for the full reference.

Key features

  • Python re module in the browser
  • IGNORECASE, MULTILINE, DOTALL and VERBOSE flags
  • Match modes
  • Pattern debug output
  • Python source snippet

Strengths

  • Runs Python's own re module in the browser
  • Flag toggles with finditer, search and fullmatch modes
  • Shows the Python source for the test

Limits

  • Python flavor only
  • The first load waits for the Python environment to start

Where Pythex ranks

How Pythex compares

ProductScorePricePlatformsRegex flavorsDraws a diagramTest suitesCode snippets
#4RegexBuddy80.0PaidWindowsMany, including PCRE, Java, JavaScript, Python, .NETNoNoYes
#5iHateRegex78.0FreeWebNot listed on the homepageYesNoNo
#6Regexper74.5FreeWebNot listed on the siteYesNoNo
#7Pythex72.0FreeWebPython re moduleNoNoYes
#8Rubular70.0FreeWebRuby 2.5.9NoNoNo

The full comparison table for best regex testers has all 8 products.

Questions about Pythex

Is Pythex free?
Pythex can be used without paying: No price or sign-up is shown on the site. Check the vendor’s pricing page for current limits.
Is Pythex open source?
No. Pythex is proprietary software; its source code is not public.
Which platforms does Pythex support?
Pythex is available on: Web.
What is Pythex best for?
Python developers testing re patterns. In our ranking of regex testers it is number 7 of 8 with a score of 72.0.
What are the best alternatives to Pythex?
The highest-ranked alternatives on listme.name are regex101, RegExr, Debuggex, RegexBuddy.

Show this ranking on your site

If you make or maintain Pythex, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #7 of 8 regex testers on listme.name
<a href="https://listme.name/software/pythex"><img src="https://listme.name/badge/pythex.svg" height="28" alt="Ranked #7 of 8 regex testers on listme.name"></a>