Regex Tester
Enter a regular expression and test string below. Matches are highlighted in real time. Supports JavaScript regex flags. All processing happens locally in your browser.
| # | At | Match | Groups |
|---|
Regular Expression Flags
| Flag | Description |
|---|---|
g | Global - find all matches, not just the first |
i | Case-insensitive matching |
m | Multiline - ^ and $ match line boundaries |
s | Dotall - . matches newlines |
u | Unicode - enable full Unicode matching |
y | Match only at the position where the last one ended |
Matches are listed with the position they start at and every group they captured, named groups included, which is usually the thing you are actually checking. Replace mode runs the same pattern through the standard replacement syntax, so $1 and $
Reshaping data by hand again?
A payload you have to fix in a browser tab every time is a job for code. We build the integrations, parsers and services that move data between systems, and we repair the ones that quietly corrupt it on the way through.
Tell us what you are moving