GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • DevToolkit

This view

  • Original page
  • New address

GeezerVison is showing devtoolkit-dws.pages.dev — Regex Tester — Online Regular Expression Tester — DevToolkit

Regex Tester

Test and debug regular expressions with real-time matching.

Pattern
//g
Flags:
Presets:
Test String
Enter a pattern and test string

What are Regular Expressions?

Regular expressions (regex) are powerful patterns used to match, search, and replace text. They are supported in virtually every programming language — JavaScript, Python, Java, Go, Rust, C#, PHP, Ruby, and more. Regex is essential for input validation, log parsing, data extraction, and text transformation.

Common Regex Patterns

  • \\d — any digit (0-9)
  • \\w — any word character (a-z, A-Z, 0-9, _)
  • \\s — any whitespace (space, tab, newline)
  • [abc] — character class: a, b, or c
  • a|b — alternation: a or b
  • ^ / $ — start / end of string
  • * / + / ? — zero or more / one or more / optional
  • \{n,m\} — between n and m repetitions
  • (?:...) — non-capturing group
  • (?<name>...) — named capturing group

Regex Flags Explained

g (global) — find all matches, not just the first. i (case-insensitive) — ignore case when matching. m (multiline) — ^ and $ match the start/end of each line. s (dotAll) — makes . match newlines too.

Features

  • Real-time matching as you type
  • Syntax highlighting for matched text
  • Match details table with index and length
  • Flag toggles (g, i, m, s)
  • Preset patterns for common use cases
  • 100% client-side — your data never leaves your browser

More Developer Tools

Data
JSON FormatterFormat, validate, and minify JSON data with syntax highlighting
Encoding
Base64 Encoder/DecoderEncode and decode Base64 strings instantly
DevOps
Cron Expression ParserParse and explain cron expressions in human-readable format
Security
JWT DecoderDecode and inspect JSON Web Tokens (JWT) — header, payload, and signature
Encoding
URL Encoder/DecoderEncode and decode URL components and query strings
Data
UUID GeneratorGenerate UUID v4 (random) and v7 (time-sortable) identifiers
Data
Unix Timestamp ConverterConvert Unix timestamps to dates and vice versa
Security
Hash GeneratorGenerate MD5, SHA-1, SHA-256, SHA-384, SHA-512 hashes from text
Security
Password GeneratorGenerate strong random passwords and XKCD-style memorable passphrases
Data
Text Diff CheckerCompare two texts and find differences line by line
Encoding
Color ConverterConvert colors between HEX, RGB, and HSL with contrast checker
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.