Regex replace second pattern by mapping [0-9] to [q-p] in Geany?
1
vote
1
answer
812
views
I would like to replace
123 456 789
with q23 r56 u89
using Geany regex. So far I can do it with multiple find and replace patterns like this:
...
Find: (\D|^)4
Replace: \1r
Find: (\D|^)5
Replace: \1t
...
I want to combine these 10 statements into one using mapping of \2
by the rule -> [qwertyuiop]
.
How can I do this in geany?
Asked by Stepan
(149 rep)
Jul 22, 2018, 05:59 PM
Last activity: Oct 1, 2018, 09:08 PM
Last activity: Oct 1, 2018, 09:08 PM