Pattern tester
Matches found
0
Capture groups (first 10 matches)
Highlighted matches
Cheatsheet: click any pattern to load it into the tester
Frequently asked questions
How do I use the cheatsheet?
Click any pattern chip and it loads into the tester. Edit it freely, type your test text below, and matches highlight instantly with a live count.
What do the flag letters mean?
i ignores case, m makes ^ and $ match line starts and ends, s lets the dot match newlines, and u enables full Unicode matching.
Is this the same regex as JavaScript?
Yes. The tester runs your browser's own JavaScript regex engine, so what works here works in your JS code.
Preview
Related free tools
Free Base64 Encoder Decoder
Free Base64 encoder and decoder. Encode text to Base64 or decode Base64 back to text, righ
Free CSS Minifier Online
Free CSS minifier. Remove comments and whitespace from CSS to shrink file size and speed u
Free SHA-256 Hash Generator
Free SHA-256 hash generator. Hash text with SHA-256, SHA-384 or SHA-512 securely in your b