Interactive Regex Tester
Free ToolTest and debug regular expressions in real time with syntax highlighting, capture groups, instant match count, and cheat sheet presets.
Instant 0ms
100% Client-Side
/
/
Flags:
Popular Presets:
Matches Found
Match Details & Groups
No matches found. Check your pattern or test string.
Match #
Captured Groups:
Regex Cheat Sheet
Character Classes
.Any character except newline\dAny digit [0-9]\DAny non-digit\wWord char [A-Za-z0-9_]\sWhitespace (space, tab, newline)[a-z]Character in range a-z
Quantifiers
*0 or more times+1 or more times?0 or 1 time (optional){3}Exactly 3 times{2,5}Between 2 and 5 times
Anchors & Groups
^Start of string or line$End of string or line\bWord boundary(...)Capturing group(?:...)Non-capturing group
Frequently Asked Questions
It uses the JavaScript ECMAScript (ECMA-262) regex engine natively in your browser with zero latency.
Flag "g" searches globally for all matches, "i" makes matching case-insensitive, and "m" allows ^ and $ to match start and end of each line.
No! The regex engine runs 100% locally in your browser. None of your test text or regex strings ever leave your device.
Explore More Free Utilities
AES-256 Encryption & Decryption Studio
Encrypt and decrypt sensitive text locally in your browser using AES-GCM / AES-CBC 256-bit with PBKDF2.
Punycode & IDN International Domain Converter
Convert internationalized domain names (IDN) with Unicode characters to ASCII Punycode (xn--) and vice-versa.
High-Speed HMAC Hash Generator
Generate keyed-hash message authentication codes (HMAC-SHA256, HMAC-SHA512, HMAC-SHA1) in real-time.
Base58 (Bitcoin & IPFS) Encoder & Decoder
Encode raw text into Bitcoin Base58 alphabet or decode Base58 strings back to plaintext.