Real-Time Regular Expression & Capture Group Tester
Test JS patterns (g/i/m) live with match count, offset indexes & presets.
Runs in your browserDeveloper · Text Utilities, Regex & Log Parsers
3 matches
| # | Match | Index | Capture Groups |
|---|---|---|---|
| 1 | 10.10.0.1 | 12 | 10.10.0.1 |
| 2 | 192.168.10.254 | 39 | 192.168.10.254 |
| 3 | 8.8.8.8 | 62 | 8.8.8.8 |
Pattern: /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/gm
Matches (3):
#1 "10.10.0.1" @index 12 | Groups: ["10.10.0.1"]
#2 "192.168.10.254" @index 39 | Groups: ["192.168.10.254"]
#3 "8.8.8.8" @index 62 | Groups: ["8.8.8.8"]How to use the Real-Time Regular Expression & Capture Group Tester
- 1Paste or type your input in place of the example.
- 2The result is computed in your browser as you type.
- 3Copy the result; nothing is stored or sent anywhere.
Similar tools
- Line-by-Line & Inline Word Diff CheckerCompare .env, router scripts & JSON side-by-side showing added & deleted lines.
- UPPER, lower, camelCase, snake_case, kebab-case ConverterTransform strings cleanly between camelCase, PascalCase, snake_case & Title.
- Regex & Multi-Line Find and Replace ToolPerform fast multi-line plain text or RegExp search & replace in browser.
- Zero-Width Unicode & Homoglyph Spoof CleanerDetect and strip zero-width joiners, NBSP & invisible formatting bugs in code.