๐
Regex Tester
Test regular expressions with live matches.
Loading toolโฆ
How to use the Regex Tester
- 1Type your regex pattern and flags (like gi).
- 2Paste the text you want to test against.
- 3View match count, groups, and highlighted results live.
About the Regex Tester
Free online regex tester. Enter a pattern and flags, paste test text, and see live match count, captured groups, and highlighted matches instantly in your browser.
Part of our Developer Tools collection. Browse all tools.
Frequently asked questions
- Which regex syntax does this support?
- It uses the browser's native JavaScript RegExp engine, so all standard JS regex syntax and flags (g, i, m, s, u, y) are supported.
- Why aren't all my matches highlighted?
- Highlighting and finding every match require the global flag. Add g to your flags to match all occurrences and see them highlighted in the text.
More Developer Tools
โ
{ }
JSON Formatter
Format, beautify, minify and validate JSON.
โโ๏ธ
Base64 Encode / Decode
Encode text to Base64 or decode it back.
โ๐
URL Encode / Decode
Percent-encode or decode URLs and query strings.
โ#๏ธโฃ
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
โ๐
UUID Generator
Generate random version-4 UUIDs.
โโฑ๏ธ
Unix Timestamp Converter
Convert between Unix timestamps and dates.