Regex Tester
pattern — regex-tester
//g
test string — regex-tester
>
matches — regex-tester
// matches will appear here
## What is Regex Tester?
Regex Tester is a free online tool that lets you test regular expressions against any string in real-time. See matches highlighted, capture groups extracted, and match positions displayed instantly.
## How to use
- Enter your regex pattern in the pattern field
- Toggle flags (global, case-insensitive, multiline, etc.)
- Type or paste your test string
- Matches are highlighted and detailed in real-time
## FAQ
Which regex flavor is used?
JavaScript's built-in RegExp engine. This covers most common regex features including lookahead, lookbehind, and named groups.
Is my data safe?
Yes. Everything runs in your browser. No data is sent to any server.
What do the flags mean?
g = global (find all matches), i = case-insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines), u = unicode.