Regex Tester
Test JavaScript regular expressions with live match highlighting and capture-group inspection. Free regex tester, runs locally.
About this Regex Tester tool
CheckHub runs your regex against test text in real time, highlighting matches and listing capture groups for every match.
How to use the Regex Tester
- Step 1. Enter a regex pattern and flags.
- Step 2. Paste test text.
- Step 3. Read matches and capture groups.
Frequently asked questions
- Which regex flavor does this use?
- JavaScript RegExp. Subtle differences exist vs PCRE/Python — most basic patterns are portable.
Related Utility Tools
- Password Generator - Generate strong random passwords
- 2FA Generator - Generate Time-based OTPs from secrets
- Base64 Encode/Decode - Encode or decode Base64 strings
- URL Encode/Decode - Encode or decode URL strings
- JSON Formatter - Format, validate, and minify JSON
- JWT Decoder - Decode and inspect JSON Web Tokens