How to use the Regex Tester
- Enter a pattern and select flags.
- Paste test text — matches highlight instantly.
- Use the replace field to preview substitutions.
Features
- Live highlighting of all matches
- Capture and named group table
- Flags: g, i, m, s, u, y
- Replace preview with $1 / $<name> references
- Library of common patterns (email, URL, phone, UUID…)
Frequently asked questions
Is JavaScript regex the same as Dart RegExp?
Dart's RegExp follows JavaScript (ECMAScript) semantics, so patterns tested here behave the same in Flutter. Flags map to constructor options: multiLine, caseSensitive, unicode and dotAll.
Why does my regex only match once?
Without the g (global) flag, matching stops after the first result. Enable g to find all matches.