I am trying to edit my contents page such that each file gets mapped as a link

I am unable to crack the replacement pattern. Experimenting with below

Is there any way to use integers from Find part of the expression in replacement part as a variable such that I can use them multiple times during the replacement. Any suggestion will be great.
I'm not very familiar with vs code, but in general, regular expressions can indeed refer to matched groups any number of times, yes.
They're called 'back references', which led me to this. Seems $1 might be what you're looking for.
Mark
Kumar Abhishek
#include < life.h > int main() { int learn = 0; while ( 1 ) learn = learn + 1; return 0; }
Thanks Mark so this worked for me, since I wanted to reuse the second set I had to use $2