.*

Regex Tester

Write a regular expression, set flags, and test it against your string — matches are highlighted in real time.

/ /
📋 Regex Cheat Sheet

Frequently Asked Questions

This tester supports JavaScript regex flags: g (global — find all matches), i (case-insensitive), m (multiline — ^ and $ match line starts/ends), and s (dotAll — dot matches newlines).
The global flag (g) finds all matches in the string. Without it, the regex stops after the first match.