'Visual Studio Code Find/replace - save with name

More than often I find that I need some custom regex for me in visual studio code.

Every time I use stackoverflow search to find the same regex rather than trying to rewrite it again and again. Now I am having a separate text note only for that purpose which contains my find/replace regex values. e.g.remove duplicates

Is there a custom smart plugin or option which allows me to add find / replace and give them names and save them (similar to ultra edit) directly in Visual Studio Code?

If there is a way to do the same in Visual Studio instead of code I am fine with it as well - I just need to be able to do find replaces quickly.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source