๐ค Pandan
Regex
JSON Formatter
SEO Checker
APIs
Regular Expression
/
/
g
i
m
s
u
Presets
๐ง Email
๐ URL
๐ฑ Phone
๐ IP Address
๐ Date (YYYY-MM-DD)
๐จ Hex Color
Test String
0 matches
โฐ Details
Match Highlighting
Matches
โผ
No matches yet
Explanation
โผ
Enter a regex to see explanation
Copy as Code
JavaScript
Python
PHP
Copy
Enter a regex to generate code
Cheat Sheet
โผ
Characters
.
Any character (except newline)
\\d
Digit [0-9]
\\w
Word char [a-zA-Z0-9_]
\\s
Whitespace
\\b
Word boundary
[abc]
Character class
[^abc]
Negated class
Quantifiers
*
0 or more
+
1 or more
?
0 or 1 (optional)
{n}
Exactly n
{n,m}
Between n and m
Groups & Lookaround
(abc)
Capture group
(?:abc)
Non-capture group
(?=abc)
Positive lookahead
(?!abc)
Negative lookahead
(?<=abc)
Positive lookbehind
a|b
Alternation (or)
Anchors
^
Start of string/line
$
End of string/line
๐ง Get Developer Updates
New tools, features, and API updates. No spam.