RunToolz iconRunToolz
Welcome to RunToolz!

Regex Tester

Test regular expressions with live matching and highlighting.

Common Patterns:

Pattern

//g

Test String

Matches 0

How to use

  1. Enter a regex pattern or select a common pattern
  2. Set flags (global, case insensitive, etc.)
  3. Enter test string to match against
  4. View highlighted matches and match details

Matches are highlighted in yellow in real-time

What is Regex?

Regular expressions (regex) are powerful patterns used to match character combinations in strings. They're essential for text processing, validation, search and replace operations.

Basic Syntax
. any char | \d digit | \w word | \s space
Quantifiers
* 0+ | + 1+ | ? 0-1 | {n} exact | {n,m} range

Common Use Cases

Validation

Email, phone, URL formats

Search

Find patterns in text

Replace

Find and replace text

Extract

Pull data from strings

Sanitize

Clean user input

Parse

Parse logs, data files

Frequently Asked Questions