EYN

Command Palette

Search for a command to run...

Regex Tester

Test and debug regular expressions with live matching and replacement

Regular Expression
Enter your regular expression and test string
g: global, i: case-insensitive, m: multiline, s: dotAll, u: unicode, y: sticky
Match Results
View matches and highlighted text

Match results will appear here

Text Replacement
Replace matched text with custom replacement
Use $1, $2, etc. to reference capture groups
Regex Cheat Sheet
Common regex patterns and their meanings

Character Classes

\w - Word character (a-z, A-Z, 0-9, _)
\d - Digit (0-9)
\s - Whitespace
. - Any character (except newline)
[abc] - Any character in brackets
[^abc] - Any character not in brackets

Quantifiers

* - Zero or more
+ - One or more
? - Zero or one
{n} - Exactly n times
{n,} - n or more times
{n,m} - Between n and m times