Regex Tester
Test regular expressions against sample text. Highlight matches with g, i, m flags.
—
Related tools
How it works
- 1Enter your regular expression in the regex field (e.g., \d+ for numbers).
- 2Paste or type test text in the test text area.
- 3Select flags: g (global), i (case-insensitive), m (multiline).
- 4Matches are highlighted and listed with positions.
Example
Input: Regex \d+, Text 'Price: 99 and 150' Output: Matches '99' at position 7, '150' at position 16