Công cụ định dạng & Mã
Regex Playground
100+ curated patterns plus a live tester.
39 patterns
Email & web
Numbers
Dates
Phone & IDs
Code
Markup
Files
Misc
Matches
- ada@example.com.
Ghi chú của biên tập viên
Understanding · The hundred patterns you keep copying.
Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.
Các câu hỏi thường gặp
Quick answers.
›Which regex engine does this use?
The playground uses the native JavaScript RegExp engine built into your browser, which supports standard features like lookaheads and capture groups.
›Is my test data sent to a server?
No. All pattern matching and text processing happens locally on your device in real-time.
›What are the common regex flags?
Common flags include `g` for a global search across the whole string, `i` for case-insensitive matching, and `m` for multiline mode.
›Can I test complex patterns?
Yes. You can write your own custom patterns or select from over 100 curated examples including URL validation, date formats, and HTML tag matching.
Mọi người cũng tìm kiếm
Công cụ liên quan
More in this room.
- Trình kiểm tra RegexKiểm tra biểu thức chính quy JavaScript trực tiếp.
- Bộ chuyển đổi viết hoa/thườngcamelCase, snake_case, kebab-case và nhiều hơn nữa.
- So sánh văn bảnSo sánh hai khối văn bản từng dòng.
- Bộ đếm từ và ký tựĐếm từ, ký tự, câu, thời gian đọc.
- Sắp xếp dòngSắp xếp các dòng theo thứ tự bảng chữ cái, theo độ dài hoặc theo số.
- Xóa dòng trùng lặpLoại bỏ các dòng trùng lặp trong khi vẫn giữ nguyên thứ tự ban đầu.