Test patterns without second-guessing what matched.

Paste a regex, set flags, and inspect every match with positional and named capture groups. The scanner lists all matches even if you forget the g flag.

MatchesGroupsFlags

Common Patterns

Input

Regex setup

/ /gi

Validation

Pattern status

Pattern matched the input

Review the preview and capture groups below to inspect each occurrence.

60 Pattern chars
2 Flag chars
102 Input chars
2 Listed matches
g

Global: match all occurrences.

i

Ignore case: case-insensitive.

m

Multiline: anchors ^ and $.

s

DotAll: . matches newlines.

Preview

Highlighted text

Primary link: https://usefulonlinetools.app/regex-checker Backup link: http://localhost:5173/dev-tools

Matches

Occurrence breakdown

Match 1 Index 14 · Len 43
https://usefulonlinetools.app/regex-checker
$1 https
$2 usefulonlinetools.app
$3 /regex-checker
protocol https
host usefulonlinetools.app
path /regex-checker
Match 2 Index 71 · Len 16
http://localhost
$1 http
$2 localhost
$3 (undefined)
protocol http
host localhost
path (undefined)

Other Live Tools

Continue through the library

/diff-checker

Diff Checker

Identify precise differences between two text blocks with side-by-side or inline views, highlighting insertions and deletions.

/json-formatter

JSON Formatter

Beautify, validate, and minify JSON data with automatic key sorting and syntax error detection for easier debugging.

/csv-json-converter

CSV ↔ JSON

Bidirectional converter for CSV and JSON formats with support for quoted fields, custom headers, and nested data preservation.

/unit-converter

Unit Converter

Instant conversion for length, mass, temperature, and digital storage units using precise mathematical constants.

/roman-numeral-converter

Roman Numeral Converter

Transform modern integers into Roman numerals and back, with support for standard subtractive notation up to 3,999.

/age-calculator

Age Calculator

Calculate chronological age in years, months, and days, and track time remaining until next birthdays or anniversaries.

/color-palette

Color Palette

Explore and generate color formats including HEX, RGB, HSL, and HWB with built-in accessibility and contrast checks.

/base64-converter

Base64 Converter

Encode or decode strings to Base64 format with full UTF-8 support, ideal for handling data URIs and binary-to-text requirements.

/hash-generator

Hash Generator

Generate cryptographically secure hashes (MD5, SHA-256, SHA-512) locally for data integrity and checksum verification.

/jwt-decoder

JWT Decoder

Parse and inspect JSON Web Tokens instantly to view header and payload claims without sending data to any server.

/qr-code

QR Code Utility

Create custom QR codes from any text or URL, or use your camera to scan and decode existing QR images on the fly.

/barcode-utility

Barcode Utility

Generate and scan various 1D barcode formats including CODE128, EAN, and UPC for retail and inventory management.

/password-generator

Password Generator

Generate high-entropy, random passwords with customizable lengths and character sets using secure cryptographic primitives.

/password-strength-checker

Password Strength

Verify password security using entropy-based scoring and pattern detection to ensure high safety standards.

/token-generator

Token Generator

Generate secure random tokens in Hex, Base64, or Alphanumeric formats for API keys and secrets.

/word-character-counter

Word Counter

Real-time text analysis for word count, character density, and estimated reading time for writers and editors.

/case-converter

Case Converter

Quickly switch between UPPERCASE, lowercase, Title Case, and camelCase to match your project standards.

/url-encoder-decoder

URL Encoder/Decoder

Safely escape or unescape special characters in URL parameters to prevent broken links and data errors.

/duplicate-line-remover

Duplicate Line Remover

Clean up messy lists and logs by removing identical lines with optional case sensitivity and whitespace handling.

/markdown-converter

Markdown Converter

Preview Markdown in real-time or convert it to clean HTML for web publishing and documentation.

/cron-job-generator

Cron Job Generator

Build and debug cron expressions with a visual schedule builder and human-readable descriptions of execution intervals.

/image-converter

Image Converter

Switch between PNG, JPG, and WebP image formats instantly without any server uploads for total privacy.

/image-resizer

Image Resizer

Scale your images to precise pixel dimensions or percentages with high-quality resampling filters.

/image-cropper

Image Cropper

Cut and rotate images with pixel-perfect accuracy using common aspect ratio presets or freeform selection.

/blur-pixelate-image

Blur/Pixelate Image

Anonymize sensitive data in images using freehand brush or rectangular blur and pixelate effects.

/equation-visualizer

Equation Visualizer

Plot and visualize 2D mathematical functions on an interactive coordinate system with real-time updates.

/html-css-js-minifier

HTML/CSS/JS minifier

Compress markup, styles, and scripts to reduce file size and improve web page load speeds.

/file-metadata-viewer

File Metadata Inspector

View hidden file properties, EXIF data for images, and deep system attributes without server uploads.

/text-analyzer

Text Analyzer

Automatically parse and extract contact information, links, and social handles from any block of text.

/matrix-multiplier

Matrix Multiplier

Perform matrix multiplication and visualize the step-by-step linear algebra calculation process.

/time-toolkit

Time Toolkit

Convert timezones, analyze Unix timestamps, and calculate precise durations with a professional-grade time utility.