AdSense728×90
.*
Regex Tester
Test regular expressions with live match results.
A regular expression (regex) is a sequence of characters that defines a search pattern. Regex is used in nearly every programming language for validating input, searching text, extracting data, and replacing strings. Testing regex patterns from memory is error-prone — our live regex tester shows you exactly which parts of your test string match your pattern in real time, with a built-in quick reference cheat sheet.
How to use:
- 1. Enter your regex pattern in the Pattern field
- 2. Add flags in the flags field (g for global, i for case-insensitive, m for multiline)
- 3. Type or paste your test string
- 4. Matches are highlighted and listed instantly
Pattern
//
Test string
Quick reference
.Any char\dDigit\wWord char\sWhitespace^Start$End+One or more*Zero or more?OptionalAdSense160×600