0
<contact>
                <buddy account='19999999999' proto='prpl-whatsapp'>
                    <name>979999999999</name>
            </contact>

The above text , I want to copy and paste below each other 100 times with one change in the text

This part - <name>979999999999</name>

How can do this in notepad++ , python , sublime text?

Astrix
  • 1
  • 1
  • I think it could be done with column editor - as seen in: http://stackoverflow.com/a/7602876/3365805 – nettutvikler Oct 20 '14 at 12:37
  • Tried but it just adding a line with an increment in the number – Astrix Oct 20 '14 at 12:48
  • What exactly do you want to change in that line? – legends2k Oct 20 '14 at 13:23
  • Not in that line , I want to add more similar lines like 979999999991 979999999992 979999999993 979999999994 979999999995 979999999996 979999999997 979999999998 979999999999 you see with incrementing number. I want to ADD 1000 lines lets say , how can we do it – Astrix Oct 20 '14 at 13:40

1 Answers1

0

In SynWrite app you can do it: call dialog "Edit - Insert text", enter:

  • prefix: <name>
  • start number 979999999991
  • suffix: </name>
  • counter: 100
Prog1020
  • 4,530
  • 8
  • 31
  • 65