Regex Builder
Build regular expressions visually, test against sample text, and get a plain-English explanation of each part.
//g
Character Classes
Anchors
Quantifiers
Groups & Lookaround
Common Patterns
Replacement Tokens
- $& — Entire match
- $1, $2, ... — Captured group by number
- $` — Text before the match
- $' — Text after the match
- $$ — Literal dollar sign