Skip to main content
Free tool

Python regex tester

Type a pattern, type test text, get matches instantly. Every keystroke re-runs your pattern through Python's real re module (running in your browser via Skulpt), so lookbehinds, named groups, and verbose mode work exactly as Python 3 does — no JavaScript-regex quirks.

Matches
● loading Python…
Try me! Emails to catch: alice@example.com, bob@test.org Not emails: hello world, no domain here. Change the pattern above, then edit this text.

Real Python. Not a JavaScript regex approximation.

Every lesson on CodeMentor runs the same Python interpreter you just used here, in your browser, with an AI mentor when you get stuck.

Start with the free Python track →

Get one Python lesson + one career idea every Friday

No spam, no "buy our course now". Three bullets, every Friday. Unsubscribe with one click.