One place for regular expressions: live match highlighting, a capture-group table, find-and-replace with ready-made text transforms, a plain-English explainer, a searchable cheat sheet, a pattern library, code for seven languages and matching grep, sed, awk, perl and ripgrep commands. Everything runs in your browser; nothing you type is sent anywhere.
| # | Position | Match | Groups |
|---|
Each one fills in the pattern, flags and replacement, so you can see how it works and adjust it.
Each piece of the pattern in order, in plain English. Indented lines are inside a group.
Commands for a Linux or macOS terminal, quoted safely for the shell. The replacement from the Replace tab is used by sed and perl when you've entered one.
Common patterns with sample text. Choosing one loads the pattern, its flags and the sample.
Press a token to insert it into the pattern at the cursor.