When to use it
To check whether strings like phone numbers and emails match a rule, or to pull specific fragments out of a long text. Matches update live as you edit the pattern.
How it works
Type the pattern in the top input, then toggle g · i · m · s · u · y as flags. The right pane highlights live. The pill row below offers common patterns (phone, email, IPv4, etc.) — click one and tweak from there.
Common pitfalls
- Hangul doesn't match —
\\wexcludes Hangul. Use[가-힣], or theuflag with Unicode properties (\\p{L}). - Special characters —
.?+*()[]{}|\\must be escaped with\\to match literally. - Greedy matching —
.*grabs as much as it can. Use.*?for the minimal match. - Too slow — Patterns like
(a+)+can explode (ReDoS). Anything over 500ms is cancelled automatically with a notice. - Input over 100KB — Blocked to protect browser performance. Slice a sample first.
Where does your input go?
Both the pattern and the target text run in your browser. Nothing is uploaded or saved to local storage. Close the tab and it's gone.