Regex Tester
JavaScript regular-expression syntax. Matches highlighted inline. Capture groups listed.
Matches
—
Match details
Quick reference
- \\d · digit · \\w · word char · \\s · whitespace
- ^ · start · $ · end · \\b · word boundary
- .+ · one or more · .* · zero or more · .? · optional
- (...) · capture group · (?:...) · non-capturing · [abc] · char class
- a{3} · exactly 3 · a{2,5} · 2 to 5 · a{3,} · 3 or more