I would like to do a regex replace operation in notepad
here is the test string:
td{2}(i,j),
td{3}(i,j),
td{4}(i,j),
And I would like to end up with this:
td(2,i,j),
td(3,i,j),
td(4,i,j),
I can find the string, but I don't know how to write the replacement string.
\{\d{1}\}\(
I tried the above expression with (.)$ to find the number
\{\d{1}\}\(
and this for the replacement string but it didn't work
\($1,
How can I get the results I want?
CodePudding user response:
You can use
\{(\d)}(\()