⚡ Regex Studio — Tester, Explainer, Replace & Transform, Code and Command-Line Export
⚡ Regex Studio — Tester, Explainer, Replace & Transform, Code and Command-Line Export
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.
Matches highlighted
| # | Position | Match | Groups |
|---|
Ready-made transforms
Each one fills in the pattern, flags and replacement, so you can see how it works and adjust it.
Text tools (change the test text itself)
Each piece of the pattern in order, in plain English. Indented lines are inside a group.
Flags in use
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.