Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Regex Railroad DiagramsNew to Visual Studio Code? Get it now.
Regex Railroad Diagrams

Regex Railroad Diagrams

kogai

|
5,560 installs
| (7) | Free
Display railroad diagram of regex under cursor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

regex-railroad-diagram package

A regular expression railroad diagram view for regular expression under cursor. This is inspired by regex railroad diagrams.

regex-railraod-diagram in action

regex-railraod-diagram in action

It also shows you a parsing error message, if your regex is not syntactically correct.

For now it only supports most common regex features, but there are more to come.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft