---
title: "Regex Tester | Codemo Tools - Utilities toolkit for Developers, QA, and Testers"
description: "Test patterns against text, toggle flags, inspect matches and capture groups in real time."
canonical_url: "https://codemotools.dev/utilities/regex-tester"
meta:
  "og:description": "Test patterns against text, toggle flags, inspect matches and capture groups in real time."
  "og:image": "https://codemotools.dev/_og/d/c_Card.takumi%2Ctitle_Regex%2BTester%2Cdescription_~VGVzdCBwYXR0ZXJucyBhZ2FpbnN0IHRleHQsIHRvZ2dsZSBmbGFncywgaW5zcGVjdCBtYXRjaGVzIGFuZCBjYXB0dXJlIGdyb3VwcyBpbiByZWFsIHRpbWUu%2Cp_Ii91dGlsaXRpZXMvcmVnZXgtdGVzdGVyIg%2Cs_Rx1h4xtunxOjW_5c.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Regex Tester | Codemo Tools - Utilities toolkit for Developers, QA, and Testers"
  "twitter:image": "https://codemotools.dev/_og/d/c_Card.takumi%2Ctitle_Regex%2BTester%2Cdescription_~VGVzdCBwYXR0ZXJucyBhZ2FpbnN0IHRleHQsIHRvZ2dsZSBmbGFncywgaW5zcGVjdCBtYXRjaGVzIGFuZCBjYXB0dXJlIGdyb3VwcyBpbiByZWFsIHRpbWUu%2Cp_Ii91dGlsaXRpZXMvcmVnZXgtdGVzdGVyIg%2Cs_Rx1h4xtunxOjW_5c.png"
---

> Index of every page on this site: [llms.txt](https://codemotools.dev/llms.txt)

**Utilities**

# **Regex Tester**

Test regex patterns against text with live matches, highlights, and capture-group inspection.

### **Input**

**Regex Pattern**

**Flags**

**Global (g)**

Find all matches

**Ignore Case (i)**

Case-insensitive

**Multiline (m)**

^ and $ per line

**Dotall (s)**

. matches newlines

**Unicode (u)**

Unicode mode

**Sticky (y)**

Match from lastIndex

**Test Text**

### **Output**

Regex Literal

**/\\b\\w+@\\w+\\.\\w+\\b/g**

Match Summary

**3 match(es) found**

Highlighted Text

```
Contact us at hello@example.com or support@myapp.dev for help.
Fallback: example@google.dev
```

Matches

Match 1 at index 14

**hello@example.com**

Match 2 at index 35

**support@myapp.dev**

Match 3 at index 73

**example@google.dev**

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://codemotools.dev/#website","@type":"WebSite","description":"Free utilities for developers, QA, and testers. Access fast generators, converters, cheat sheets, and essential tools for daily use","name":"Codemo Tools - Utilities toolkit for Developers, QA, and Testers","url":"https://codemotools.dev/","publisher":{"@id":"https://codemotools.dev/#identity"}},{"@id":"https://codemotools.dev/utilities/regex-tester#webpage","@type":"WebPage","description":"Test patterns against text, toggle flags, inspect matches and capture groups in real time.","name":"Regex Tester","url":"https://codemotools.dev/utilities/regex-tester","isPartOf":{"@id":"https://codemotools.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://codemotools.dev/utilities/regex-tester"]}]},{"@id":"https://codemotools.dev/#identity","description":"A collection of essential and free online tools for developers and QA engineers","email":"contact@codemo.dev","name":"codemo","url":"https://codemotools.dev","@type":["Organization","Person"],"address":{"@type":"PostalAddress","addressLocality":"Ho Chi Minh City","addressCountry":"Vietnam"},"knowsAbout":["Free tools","Development tools","Quality Assurance tools","Cheat sheets","Generators","Converters","Online tools"],"sameAs":["https://linkedin.com/in/phatdangg","https://codemo.dev","https://tools.codemo.dev"]}]}
```

## Sitemap

See the full [sitemap](https://codemotools.dev/sitemap.md) for all pages.
