Regex Tester

Test regular expressions and highlight matches in text.

Matches will be highlighted here.

What is Regex Tester?

Test JavaScript regular expressions against sample text. Matches are highlighted. Use for debugging patterns.

How to use

1. Enter a regex pattern and optional flags (g, i, m).

2. Enter or paste test text. Matches will be highlighted below.

Related Tools

Regex Generator

Generate regular expressions from common patterns.

Open Tool

Regex Explainer

Explain regular expressions in plain language.

Open Tool

Text Diff Checker

Compare two texts and see differences.

Open Tool

Remove Duplicate Lines

Remove duplicate lines from text.

Open Tool

Sort Text Lines

Sort lines of text alphabetically.

Open Tool

Word Counter

Count words, characters, and lines.

Open Tool

Popular Tools

JSON Formatter

Format, validate, and beautify JSON with syntax highlighting.

Open Tool

Regex Tester

Test regular expressions and highlight matches.

Open Tool

Base64 Encoder

Encode text to Base64.

Open Tool

UUID Generator

Generate UUID v4 identifiers.

Open Tool

JWT Decoder

Decode and inspect JWT header and payload.

Open Tool