Regex Tester

Test and validate regular expressions

Regular Expression
//
g - Global
i - Ignore Case
m - Multiline
s - Dot All
u - Unicode
y - Sticky
Common Patterns
Saved Patterns

No saved patterns yet

Click the save button to add patterns

About Regex

Regular expressions (regex) are patterns used to match character combinations in strings. They are incredibly powerful for text search, validation, and manipulation.

Basic Syntax:

. (dot)
Any character
* (asterisk)
0 or more
+ (plus)
1 or more
? (question)
0 or 1
[abc]
Character class
(abc)
Group
^
Start of string
$
End of string

All operations are performed locally in your browser.