Monday, 15 July 2013

regex - Replacing Values -1 In Notepad++ -



regex - Replacing Values -1 In Notepad++ -

i found many references on replacing regex not find way need.

for illustration have txt 15k bits of code need alter need -1 current value.

is_magic = 0 mp_consume2 = 9

in case 9 need changed 8. there thousands of these ranging in value 6 250. is_magic defines type , needs included or changes applied other groups alter not needed.

i tried various regex , wildcard examples in way, shape or form broke file, , starting lose hair. maybe cannot done notepad++ ?

regex doesn't math. however, brute forcefulness methods, , language specific methods, produce results.

math operations in regex

regex notepad++

No comments:

Post a Comment