Python Regex Tester
Your workspaceProcessed on your device
A few things to know.
CPython 3.13.2 uses up to 50,000 UTF-16 code units of test text and 2,000 each for the pattern and replacement, with up to 32 capture groups. The report previews 200 matches. Split and substitution cap complete output at 200,000 code points and 2,000 matches. A worker stops after two seconds of matching. The first run loads fixed Python runtime files from this site.
- Enter a Python pattern without slash delimiters and add a test string.
- Choose a re operation and any named flags. Run the pattern or enable Test after edits.
- Inspect a match using its code-point start and end. Copy the operation result or download the JSON report.