Regex Editor
This extension provides tools for Visual Studio 2022 that help you to create regular expressions.
- Regex Editor allows you to create and to test various aspects of the regular expressions
- Quick Ref Pane allows you to keep information on various elements of the regular expressions language handy
How to use it
Open menu Tools > Regex Editor and select desired option as shown on the figure below
![RegexEditorMenu.png](https://georgylosenkov.gallerycdn.vsassets.io/extensions/georgylosenkov/regexeditorforvisualstudio2022/1.0.0/1639977421030/RegexEditorMenu.png)
Features
- Allows to test all main methods of the Regex class: Match, Replace, Split
- Allows to generate sample code (C# and Visual Basic) using your input
- Allows to treat input as multiple samples (one sample per line)
- Provides coloring for pattern
- Provides coloring for replacement string
- Provides coloring for input string when testing Match method
- Highlights segment of the input string corresponding to selected node in the tree when testing Match method
Screenshots
Regex Editor
![Editor-Dark.png](https://georgylosenkov.gallerycdn.vsassets.io/extensions/georgylosenkov/regexeditorforvisualstudio2022/1.0.0/1639977421030/Editor-Dark.png)
Quick Ref Pane
![QuickRef-Dark.png](https://georgylosenkov.gallerycdn.vsassets.io/extensions/georgylosenkov/regexeditorforvisualstudio2022/1.0.0/1639977421030/QuickRef-Dark.png)
| |