# Regex Tester

> Test regular expressions against sample text and see every match with its capture groups.

To test a regular expression, enter your pattern and sample text. Every match is listed with its position and all capture groups, including named groups. Patterns use JavaScript regex syntax, so what works here works in Node and the browser.

**URL:** https://convertto.tech/t/regex-tester
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your pattern.
2. Choose the flags.
3. Enter or paste your test text.
4. The result appears immediately — copy or download it.

## FAQ

### Which regex flavour is this?

JavaScript (ECMAScript). It differs from PCRE in a few places — no atomic groups or possessive quantifiers, and lookbehind support depends on the browser engine.

### Why does my pattern match nothing?

The most common cause is unescaped special characters. A literal dot must be written as \. and a literal slash inside a character class needs escaping too.

## Related tools

- [Regex Explainer](https://convertto.tech/t/regex-explainer): Break a regular expression into tokens and explain each one in plain English.
- [Naming Convention Converter](https://convertto.tech/t/case-detector): Convert an identifier between every common naming convention at once.
- [Cron Expression Parser](https://convertto.tech/t/cron-expression-generator): Translate a cron expression into plain English and see when it will next run.
- [Content Security Policy Generator](https://convertto.tech/t/csp-generator): Build a CSP header from common presets, with each directive explained.
- [Email, URL & Number Extractor](https://convertto.tech/t/data-extractor): Pull emails, URLs, IP addresses, phone numbers or hashtags out of any text.
- [Text Diff Checker](https://convertto.tech/t/diff-checker): Compare two texts and highlight exactly what was added and removed.
- [Find and Replace Text](https://convertto.tech/t/find-and-replace): Replace text across a whole document with plain matching or full regular expressions.
- [.gitignore Generator](https://convertto.tech/t/gitignore-generator): Build a .gitignore file for your stack, with the entries people usually forget.
