# Regex Tester

> Test your regular expressions (Regex) in real-time. Supports match highlighting.

- Open in browser: https://pockettoolbox.org/en/regex-tester
- Runs entirely in your browser; files and input are never uploaded.

## How it works

This tool helps you create and debug regular expressions in real-time.

Enter your regular expression in the top field and your test text below it. The tool automatically highlights all matches and provides information about hits or syntax errors in the regex. You can toggle various flags (like "global" or "ignore case").

Compiles regular expressions dynamically using modifier flags. Visually highlights matches and capture groups in test text while catching syntax errors.

## FAQ

### Which regex flavor is used?

The JavaScript (ECMAScript) flavor used in browsers and Node.js. Matches are highlighted directly in the text.

---
PocketToolbox (https://pockettoolbox.org/en)
