🧪 Regex Tester
Write a regular expression, pick your flags, and see every match highlighted in your sample text. Perfect for debugging patterns before you use them in code.
Advertisement · Leaderboard 728×90
Advertisement · In-content native ad
How to use the Regex Tester
- Paste your sample text.
- Type a regex pattern and select flags (g, i, m, s).
- See the highlighted matches and match count.
Regex Tester FAQ
Which regex syntax is supported?
JavaScript regular expressions — the same syntax used in Node.js and browsers.
What does the "g" flag do?
Global — it finds every match instead of stopping at the first one.
Related tools
Advertisement · Rectangle 300×250