Apologies, I am quite new to stackoverflow and not sure if this is a suitable question but I have already attempted to find the answer elsewhere
I have the line:
XYZ: "Text"
and am attempting to replace
XYZ: "Text"
with
XYZ: "Text (XYZ)"
is this possible with notepad++, it seems as though I need to select a variable within every line and then replace some text within the line with the text + (variable) can anyone think of a way to do this in Notepad++?
Note: The text on all lines is different and so is XYZ so I need it to be specific to each and every line
You can use this pattern for search (^[^:]*)(:[^"]*"[^"]*)
and $1$2 \($1\)
for replacement.
Demo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With