What this tool does
Test regular expressions against input, toggle flags, and view matches or replacements. Supports multiline, global, and ignore-case options.
Steps
- Select Match mode or Replace mode.
- Enter your Regular expression (and flags if needed).
- Provide the Input string and optional Replacement.
- Review the Output; use ↥ to send output back to input.
Examples
Regex: (\w+)@(\w+\.\w+)
Input: contact: support@example.com
Match groups → ["support", "example.com"]
Notes
- Escaping differs across languages; this tool uses JS regex.
- Large inputs may be slow; simplify patterns if needed.