-
Trình Thực Thi
Trình biên dịch Python Trình biên dịch C++ Trình biên dịch C Trình biên dịch Matplotlib Trình thông dịch Node.js Trình thông dịch PHP Trình biên dịch C# / .NET Trình biên dịch Rust Ruby Interpreter Trình biên dịch Java Trình biên dịch Go Trình biên dịch Kotlin Trình biên dịch Swift Trình biên dịch TypeScript
-
Học lập trình
Trung tâm học Python Ví dụ chạy được, NumPy, pandas và nhiều nội dung khác Trung tâm học C và C++ Con trỏ, bộ nhớ, STL và C++ hiện đại Trung tâm học C#C# cơ bản, OOP, LINQ, async và bài tập .NET Thuật toán Python Tìm kiếm, sắp xếp, đệ quy và trình mô phỏng O(n) Thuật toán C và C++ So sánh cách cài đặt bằng C và C++
- Thử thách
Visualizers
Regex Visualizer
Draw any regular expression as a railroad diagram to understand what it matches.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Regex Visualizer
- Type a regex or pick an example.
- Follow the paths in the diagram: boxes are what must match, loops are repeats, branches are alternatives.
- Test a sample string and download the diagram as SVG.
Frequently asked questions
How do I read a railroad diagram?
Start at the left dot and follow any path to the right dot. Every path you can take is something the regex matches.
Which regex syntax is supported?
JavaScript regular expressions, including named groups, lookahead, lookbehind and Unicode property escapes.
Can I paste /pattern/flags?
Yes. Slashes are removed and the flags are moved to the flags box.
Luyện Python với thử thách lập trình
Giải các bài tập thực tế ngay trên trình soạn thảo này: chạy kiểm thử mẫu, nộp bài và nhận đánh giá code từ AI.