You can capture a regex pattern using grouping and use that group to search further or replace it by appending or prepending text to it. In the above screenshot, you can see that “Regex” is referred to as \1 and...