Funthos Tools
Regex Tester — JavaScript (ECMAScript) flavor
← Back
Home / Regex Tester

Regex Tester

Type a pattern, choose flags, paste your test text, and see matches, groups & replacements instantly. Everything runs locally in your browser.

Pattern & Flags

Tip: Use (?<name>...) for named groups. Unicode properties like \p{L} need u.

Test Text

Replace

Cheatsheet & quick hints
Anchors: ^ start, $ end, \b word, \B non-word. • Quantifiers: * + ? {m,n} ? (lazy) • Character classes: ., \d \w \s, [^...]Groups: (...) capture, (?:...) non-capture, (?<name>...) named • Lookarounds: (?=) (?!) (?<=) (?<!)Flags: g global, i ignore case, m multiline, s dotAll, u unicode, y sticky, d indices.

Results

Ready.
0 matches
Engine: JavaScript RegExp (ECMAScript)

Matches & Groups

#MatchIndexLengthGroups

Pattern Breakdown

Share & persistence
Your state auto-saves to localStorage. “Share” writes everything to the URL (hash). Opening such a URL restores the pattern, flags, text & replacement — no server involved.