Replace text incrementally on a line by line basis (restarting counting with each line).
I have tried various solutions like the Notepad++ Column replacement, TextPad incremental replacement and the Python script as listed here Notepad++ incrementally replace but none worked they way I wanted (they would not replace on a full line nor restart from each line).
I got as far as replacing with the find text, but do not know how to increment it.
FIND: (\[2s\])
REPLACE: <br /><b class="num">\1</b>
So I want this:
test text various [2s] tes text various [2s] tes text various [2s] to replace w abc-mine1.txt , [2s] to replace w abc-mine1.txt , [2s] to replace w abc-mine1.txt , [2s] to replace w
test text various [2s] tes text various [2s] tes text various [2s]
test text various [2s]
To become this
test text various <br /><b class="num">1</b> tes text various <br /><b class="num">2</b> tes text various <br /><b class="num">3</b> to replace w abc-mine1.txt , <br /><b class="num">4</b>] to replace w abc-mine1.txt , <br /><b class="num">5</b> to replace w abc-mine1.txt , <br /><b class="num">6</b> to replace w
test text various <br /><b class="num">1</b> tes text various <br /><b class="num">2</b> tes text various <br /><b class="num">3</b>
test text various <br /><b class="num">1</b>