All Tools
Developer UtilitiesPopular
Regex Tester
Test regular expressions in real time with syntax highlighting and match group visualization.
All processing happens in your browser. Your data never leaves your device.
//
Matches4 matches
How to Use Regex Tester
- 1Paste or type your input in the left panel.
- 2Click Process or use the keyboard shortcut ⌘↵.
- 3View the result in the output panel. Use Copy to copy to clipboard or Download to save as a file.
This tool processes data locally in your browser. Nothing is sent to external servers.
Examples
Example input
# Example for Regex Tester
# Paste your content in the input panel above to get started.Frequently Asked Questions
What regex flavors are supported?
JavaScript regex is supported, which covers most common use cases.
Can I see captured groups?
Yes, all capture groups are highlighted and listed separately.
What flags are available?
Global (g), case-insensitive (i), multiline (m), dotall (s), and unicode (u) flags are supported.
Does it show match positions?
Yes, the start and end index of each match is shown.
Can I use it for multiple lines?
Yes, the test string supports multiline input with the multiline flag.