Regex Tester

Write a pattern, paste sample text, and see every match with its position and capture groups. Matches are highlighted in place so you can confirm the boundaries at a glance. Patterns use the JavaScript regular-expression engine.

Pattern

idle

Do not type the surrounding slashes — the leading / and trailing /flags are added for you. Named groups such as (?<name>…) are supported.

Flags

Test string

0 characters · capped at 100,000 characters as a safeguard against slow patterns

Matches

0 matches
Highlighted text
Match details