Free Regex Tester
Test regular expressions with live highlighting.
//g
Your matches will appear here.
Ad space · tool-below
How to use the Regex Tester
- 1Enter pattern and flags.
- 2Paste test text.
- 3See matches & replace preview.
Features
- Live highlighting
- Group capture view
- Replace preview
- Common pattern cheatsheet
Frequently Asked Questions
Which regex flavor is used?
JavaScript (ECMAScript) regex, as used in all modern browsers.
Related Tools
About the Regex Tester
Test regex patterns against sample text with match highlighting, groups and replace preview. The Regex Tester runs entirely in your browser — your data is processed locally and never uploaded to a server. Explore more Developer tools or browse all free online tools.