brandon1024 / find

A find-in-page extension for Chrome and Firefox that supports regular expressions.
https://chrome.google.com/webstore/detail/find%2B-regex-find-in-page/fddffkdncgkkdjobemgbpojjeffmmofb
GNU General Public License v3.0
402 stars 52 forks source link

[Feature Request] Search and Repleace with capture groups #362

Open stefanbols opened 2 years ago

stefanbols commented 2 years ago

Issue Description

As a user I want to be able to search and replace with capture groups.

For example when wanting to add an underscore to every variable initialized with null, using capture groups.

Will replace the following:

    let documentRepresentation = null;
    let regexOccurrenceMap = null;
    let index = null;

with

    let _documentRepresentation = null;
    let _regexOccurrenceMap = null;
    let _index = null;

image