How to use the Regex Tester
- 1Enter a pattern and flags
- 2Paste your test text
- 3Review highlighted matches and groups
About this tool
Regular expressions power redirects, form validation and log analysis. Seeing matches highlighted as you type is the fastest way to get a pattern right.
Frequently asked questions
JavaScript (ECMAScript), the same engine used by browsers and Node.js.
g, i, m, s, u, y and d.