Regex Tester
Test regular expressions live with highlighted matches, capture groups and flags.
About Regex Tester
Build and debug JavaScript regular expressions interactively. Type a pattern, toggle flags, and see every match highlighted in your test string along with capture groups and positions. Runs entirely in your browser.
How to use
- 1
Enter your regular expression pattern.
- 2
Toggle the flags you need (global, ignore case, multiline, etc.).
- 3
Paste the text you want to test against.
- 4
See matches highlighted live, with a list of groups and positions.
Tip: All processing is performed locally in your browser with zero loss in quality and no upload limits.
Frequently Asked Questions
More Developer Tools You Might Like
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text, instantly and privately.
Color Converter
Convert colors between HEX, RGB and HSL with a live preview and channel sliders.
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from any text, instantly.
HTML / CSS / JS Minifier
Minify HTML, CSS or JavaScript by stripping comments and whitespace, with size savings shown.
JSON Formatter
Format, validate and minify JSON instantly — paste in, get clean output, copy with one click.