.* Regex Tester

Test regular expressions with live match highlighting, group capture display, and flag toggles.

What is Regex Tester?

Write and test regex patterns with instant visual feedback. Matches are highlighted in the test string in real-time. See match details including index positions and captured groups. Toggle flags (global, case-insensitive, multiline, dotall) with buttons.

How to Use

  1. Enter your regex pattern
  2. Toggle flags as needed
  3. Type or paste test string
  4. See matches highlighted in real-time

Frequently Asked Questions

Which regex flavor does it use?

JavaScript's native RegExp engine, which is ECMAScript-compatible.

Related Tools

  • {} JSON Formatter — Format, validate, and beautify JSON data instantly. Free online JSON formatter with syntax highlighting and er
  • 🔐 Base64 Encoder/Decoder — Encode text to Base64 or decode Base64 strings instantly. Swap between modes with one click.
  • #️⃣ UUID Generator — Generate random UUIDs (v4) instantly. Choose format, generate in bulk, and copy with one click.
  • 🔑 Hash Generator — Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from any text instantly using Web Crypto API.
  • 🌐 IP Subnet Calculator — Calculate subnets visually with a CIDR slider, binary bit visualization, and full network details. Copy any re
  • 🔢 Binary Calculator & Converter — Binary math calculator — convert between decimal, binary, hex, and octal. Toggle bits visually and perform bit

Related: regex tester, regex online, regular expression tester, regex validator