Is my data safe?
Absolutely. This tool runs 100% client-side in your browser. Your regex
patterns and test strings never leave your device. No server processing, no data collection,
no privacy concerns. Perfect for testing patterns against sensitive data.
What regex flavor does this use?
JavaScript RegEx. This tool uses JavaScript's native regex engine, which is
similar to but not identical to PCRE, Python, or other flavors. Most common features work
identically, but some advanced features (like lookbehinds in older browsers) may differ.
Why aren't my matches showing up?
Common issues: (1) Missing the 'g' flag for multiple matches, (2) Pattern is too strict (try
removing anchors ^ $), (3) Case sensitivity (add 'i' flag), (4) Special characters not
escaped. Check the pattern explanation for hints.
What's the difference between () and (?:)?
Capturing vs non-capturing groups. (...) captures the matched text for later
use (in replacements or code). (?:...) groups without capturing, which is faster and doesn't
affect capture group numbering.
How do I match a literal dot or asterisk?
Escape with backslash. Use \. to match a period, \* to match an asterisk,
etc. Any special regex character can be escaped this way to match it literally.
Can I test multiline text?
Yes! Paste multiline text into the test string area. Use the 'm' flag to
make ^ and $ match line boundaries instead of just string boundaries.
How do I use capture groups in replacements?
Enable Replace Mode and use $1, $2, etc. to reference capture groups. $& references the
entire match. Example: pattern (\\w+) (\\w+) with replacement $2 $1 swaps two words.
Why is my regex so slow?
Complex patterns with nested quantifiers can cause "catastrophic backtracking." Simplify your
pattern, use non-capturing groups (?:...), or make quantifiers lazy with ?. Test with
shorter strings first.
Can I save my patterns?
Yes, locally. Your recent patterns are saved in your browser's local
storage. They persist across sessions but are device-specific. Use the history feature to
access them.
How do I report a bug or request a feature?
Head over to our Contact page to send feedback. We're always
improving and appreciate hearing from users!