Regex Tester - Test Regular Expressions Online Free | IconVault
Test JavaScript regular expressions live in your browser. Live match highlighting, flag toggles, capture-group inspection and find-and-replace with $1 group references - free, no signup.
Regex Tester
Test patterns live with match highlighting.
Hover a flag to see what it does.
Cheat sheet
Click a token to append it to the pattern.
5 of 5 free tests left - everything runs in your browser.
Matches appear here
Matches are highlighted in your text, with captured groups listed below.
About this tool
IconVault's Regex Tester is a live workbench for regular expressions. Type your pattern, toggle flags like g, i, m, s, u and y, and paste a test string - matches are highlighted instantly, each match is listed with its index, and captured groups are shown one by one so you can see exactly what your pattern grabbed.
It runs entirely in your browser using the real JavaScript RegExp engine, so what you test here behaves exactly like it will in your code. Invalid patterns get a clear red error message instead of silent failure, and you can copy the pattern as a ready-to-paste /pattern/flags literal. A built-in replace mode lets you test find-and-replace with $1-style backreferences before touching your code, a searchable cheat-sheet inserts common tokens with one click, and a share button encodes pattern, flags and test text into a linkable URL. Every visitor gets 5 free tests - IconVault Pro ($12/year) unlocks unlimited use of every developer tool.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon