FreeTools
All Tools

Categories

AboutContactBrowse All Tools
Developer Tools

Regex Tester

Test regular expressions against text. See all matches highlighted, capture groups, and test flags (global, case-insensitive, multiline).

Regular Expression
//
Test String

How to use Regex Tester

1
Enter your regex pattern
Type your regular expression pattern into the pattern field between the slashes.
2
Add flags
Toggle flags (g, i, m, s) to control how the regex is applied to your test string.
3
See matches highlighted
Type or paste your test string and matching portions will be highlighted in yellow instantly.

Frequently Asked Questions

What regex flavor is supported?

JavaScript regex (ECMAScript), which covers most common patterns.

What do the flags mean?

g=global (find all), i=case-insensitive, m=multiline, s=dotAll (. matches newline).

Related Tools