Regex Tester & Smart Pattern Generator

Test regular expressions live with match highlighting, capture groups, replacement preview and one-click pattern generator.

100% Free Live Highlight Smart Generator No Upload
Highlighted Matches

        

Matches & Explanation

    Files never leave your device Zero server upload, no limits Private local processing

    How to test or generate a regex

    1. 1

      Generate or type a pattern

      Describe what to match (e.g. BD phone, email, Bangla text) or type a custom regex.

    2. 2

      Set flags

      Adjust JavaScript regex flags like g, i, m, u or s.

    3. 3

      Inspect matches live

      Highlighted matches and capture groups update on every keystroke.

    4. 4

      Preview replacements

      Type a replacement string using $1, $2 to test substitutions.

    Frequently asked questions

    Can I match Bangla Unicode words with regex? +

    Yes. Click the "Bangla Text" preset or use [\u0980-\u09FF]+ with the gu flags.

    Related tools