Loading ToolBox...
Loading ToolBox...
Test expressions, analyze matches, and visualize patterns with railroad diagrams.
Regular expressions (regex) are sequences of characters that define a search pattern. They are widely used for string searching and manipulation. This tester processes regex in real-time using JavaScript's native engine.
The "Railroad Diagram" view visualizes your regex pattern as a flow chart. Read it from left to right. Lines that split represent "OR" choices, and loops represent repeated characters.