YYSI — AI News & Toolbox中文 ↗

Test regular expressions safely

Write a pattern with flags and paste sample text. Matches, capture groups and positions update live; the replace tab shows the substituted result before you copy it.

Free to useRuns in your browser — files are not uploadedUp to 20 files · 20 MB · 25 MP each

    How to use it

    1. Enter the pattern and flags (g, i, m, s, u …).
    2. Paste the sample text and watch the matches update live.
    3. Switch to Replace to preview the substitution, then copy the result.

    Limits & formats

    JavaScript (ECMAScript) regex flavor — lookbehind and named groups follow what your browser supports. Patterns run inside a Web Worker with a 1-second watchdog: a catastrophic-backtracking pattern is terminated and reported instead of freezing the page. Limits: 2,000-character pattern, 200,000-character sample, first 1,000 matches listed. This tool does not use AI and does not generate patterns for you.

    Privacy

    Everything is computed locally in this browser tab; nothing is sent or stored.

    Related tools

    Feedback on this tool