The Search-and-Replace Regex with VS Code

Written by bob.ts | Published 2020/09/07
Tech Story Tags: vscode | regex | javascript | web-development | coding | programming | microsoft | software-development | web-monetization

TLDR The Search-and-Replace Regex with VS Code is simply using JavaScript's regular expressions as specified in ECMAScript 5 (the runtime of VS Code) VS Code has the option to opt into using the Perl based PCRE2 engine. This allows more advanced regex operations like lookaheads and backreferences. Press Ctrl + H on Windows and Linux, or ⌥⌘F on Mac to enable search and replace tool. The find widget can be enabled by setting search.usePCRE2.via the TL;DR App

no story

Written by bob.ts | REAL, FUN, GEEK who is passionate about Front-End!
Published by HackerNoon on 2020/09/07