Developer
Tools
Client-Side Only • Secure
正则表达式测试
实时高亮、详细匹配信息,帮助你快速调试和理解正则表达式。所有处理均在浏览器本地完成。
/
/
Invalid Regex
0
matches
Cheatsheet
Character Classes
.
Any character\w
Word char\d
Digit\s
Whitespace[abc]
Any of a, b, c[^abc]
Not a, b, or cQuantifiers
*
0 or more+
1 or more?
0 or 1{3}
Exactly 3{3,}
3 or moreAnchors & Groups
^
Start of line$
End of line\b
Word boundary(...)
Capture groupPrivacy Note
This tool runs entirely in your browser. No data is sent to any server. Your regex patterns and test strings remain private.