title: AutoIt. string search and replace
body: <p>I have multiple files in one folder(ini files). in each file, between the lines i have some lines that look like this</p>
  
  <pre><code>[12.3] ; here are some random numbers 
  
  task = task0013
  
  ... some more lines
  
  [74.1]
  
  task = task6435
  
  ... and so on and so forth
  </code></pre>
  
  <p>The numbers after "task" are not in any particular order, ie either ascending or descending.</p>
  
  <p>Now in another ini file (A) all the Values from all the files are stored as [SectionName]:</p>
  
  <pre><code>[task0013]
  
  name=whatever
  
  [task6452]
  
  name=bla bla bla
  
  ... etc
  </code></pre>
  
  <p>What I want to do is to add the Value from the ini file (A) as a new line to the corresponding [SectionName] in all of those ini files at the begining, so it will look like this:</p>
  
  <pre><code>[12.3] ; here are some random numbers 
  
  task = task0013
  
  whatever
  
  some other lines 
  
  [74.1]
  
  task = task6435
  
  ...
  </code></pre>