I have a list of 2 values separated by a comma, for example:
A, 0xAA
B, 0xBB
C, 0xCC
etc .. I want to use notepad ++ and Regex to replace this list with a list of this form:
A-B-C
0xAA-0xBB-0xCC
The regular expression to match the pattern is as follows:
^(\w+), 0x(\w\w)$
But I do not know how to make a notebook a replacement of matches in the way I described. He would have to remember matches or something like that, I’m not even sure how to describe this behavior, and that’s probably why I haven’t found a solution yet.
Xaser source
share