Photos by [Steven Wright](https://unsplash.com/@stevenwright) on [Unsplash](https://unsplash.com)

VS Code - using regular expressions in find/replace

A quick reminder to use regular expressions in VS Code. This is a feature I use frequently, but not enough to remember the patterns when I need them. What is the regular expression engine? Regular expressions may be in ECMAScript 5 or PCRE2 format. Opening the search/replace widget To start a search, simply use Ctrl + F or for MacOS Cmd + F to open this widget: To start a search with replacement, simply use Ctrl + Shift + F or for MacOS Cmd + Shift + F which opens this widget:...

11 June 2021 · 3 min · Ludovic Wyffels