title: python finding text and after that text multiple numbers
body: <p>I have big xml file and I want edit it with notepad++ (python script).
  I need replace all numbers in text like this </p>
  
  <pre><code>(x text)="number1;number2;number3;number4;number5;number6" 
  </code></pre>
  
  <p>to numbers divided on 2 (no float numbers).</p>
  
  <pre><code>(x text)="(number1)/2;(number2)/2;(number3)/2;(number4)/2;(number5)/2;(number6)/2" 
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>import re
  text = editor.getText()
  for m in re.finditer( 'x text', text ):
      numbers = [int(n.group(1)) for n in num.finditer(text)]  //here we should make array of that numbers
      numbers []= numbers []/2 //then divide on 2 (integer)
      map (numbers)   //and return 
  </code></pre>