Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Regex IntelliSenseNew to Visual Studio Code? Get it now.
Regex IntelliSense

Regex IntelliSense

Muhammad Ali Javed

|
2 installs
| (1) | Free
IntelliSense for regular expressions — hover to get plain-English explanations, named pattern detection, and component breakdowns
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Regex IntelliSense

Hover over any regular expression in your code to get an instant, plain-English explanation — right inside VS Code.

No more opening regex101.com mid-flow. Understand your patterns without leaving the editor.


Features

  • Hover explanations — plain-English description of what a regex does
  • Named pattern detection — recognizes 25+ common patterns (email, URL, phone, date, UUID, IP address, hex color, and more)
  • Component breakdown — optionally shows each part of the regex explained individually
  • Example matches — shows what the pattern would match for known patterns
  • Multiple syntax forms — understands regex literals (/pattern/flags), new RegExp(...) constructors, and string-based patterns inside .match(), .test(), .replace(), etc.

Regex IntelliSense Demo


Supported Languages

JavaScript · TypeScript · JSX/TSX · Python · Java · Go · Ruby · PHP · Rust · C# · JSON · Perl


Installation

Search for Regex IntelliSense in the VS Code Extensions panel (Ctrl+Shift+X / Cmd+Shift+X) and click Install.

Or install from the command line:

ext install MuhammadAliJaved.regex-intellisense

Settings

Setting Type Default Description
regexIntelliSense.enable boolean true Enable or disable hover explanations
regexIntelliSense.showDetailed boolean false Show component-by-component breakdown of the regex
regexIntelliSense.showExamples boolean true Show example matches for recognized patterns

Configure in your settings.json:

{
  "regexIntelliSense.enable": true,
  "regexIntelliSense.showDetailed": true,
  "regexIntelliSense.showExamples": true
}

How It Works

When you hover over a regex in your code, the extension:

  1. Detects whether it's a regex literal, RegExp constructor call, or string pattern in a method call
  2. Parses the pattern into its components
  3. Checks against a library of named patterns (email, URL, UUID, etc.)
  4. Renders a clean Markdown tooltip with the explanation

License

MIT — see LICENSE for details.


Contributing

Issues and pull requests are welcome. Please open an issue first for larger changes so we can discuss the approach.

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