Notepad++ Regex Replace Capture Groups With Numbers -
so have numbers i'm trying replace in notepad++ , have tweak both positive values , negative ones, search looks this:
v (.{0,1})13.500000
and replace:
v $1 10.500000
except don't want space there between capture group reference , other digits, if leave space out, places nothing (no capture group #110).
how "escape" capture group separate character-literals without inserting unwanted character?
i 2 replacements, figured must possible, although can't figure out how search it.
sample source text:
v 13.000000 19.0000000 8.000000 v 13.000000 19.0000000 9.000000 v -13.000000 19.0000000 9.000000 v -13.000000 19.0000000 8.000000
desired result:
v 10.000000 19.0000000 8.000000 v 10.000000 19.0000000 9.000000 v -10.000000 19.0000000 9.000000 v -10.000000 19.0000000 8.000000
try replacement:
v ${1}10.500000
Comments
Post a Comment