Text Conversion & Encoding
Regex Tester
Experiment with regular expressions and see all matches, positions, and capture groups using
JavaScript’s RegExp engine.
All processing happens in your browser. This tool uses JavaScript regular expressions (not full PCRE as used by some tools like grep or certain IDS/IPS engines).
Pattern & flags
Enter a regular expression pattern and choose the flags you want to test.
Patterns are interpreted as JavaScript regular expressions. Some PCRE features (like certain backreferences or lookbehinds) may not work exactly the same way.
Test text & matches
Paste or type your test text, then review highlighted matches and group details below.