/ /
g global i case-insensitive m multiline s dotAll u unicode

Test String

Highlighted Output

Matches will be highlighted here...

Match Results

Matches: 0
- No matches found
Privacy First: All regex testing happens locally in your browser. No data is sent to any server.

What is a Regular Expression?

Regular expressions (regex) are patterns used to match character combinations in strings. They're powerful tools for searching, replacing, and validating text. This tester uses JavaScript's regex engine, which supports features like capture groups, lookaheads, and Unicode properties.

Common Regex Patterns

Regex Flags Explained

Related Utilities

Explore our other free developer tools: Character Counter, Diff Checker, JSON Formatter, and URL Encoder.