Python Regex Tester – Test Python Regex Online
Python's re module names groups with (?P<name>...) and named backreferences with (?P=name), not JavaScript's (?<name>...) syntax. This tester lets you check the pattern against Python's actual engine.
Test text
Regular expression
Run with Ctrl/⌘ Enter
Loading Python runtime…
Output
Apply the expression to see its output.