title: Changes a word in a file that you don't know using java
body: <p><strong>Backstory:</strong></p>
  
  <p>I am creating a <em>LTspice</em> program, where I am creating a circuit with over 1000 resistors.</p>
  
  <p>There are 9 different types resistors. I need to change the value of each type of resistor, many times. I can do this manually but I don’t want to. The file is like a text file and can be read by a program like notepad. The filetype is .asc </p>
  
  <p>I was going to create a java program to help me with this.</p>
  
  <p>File Snippet:   </p>
  
  <pre><code>SYMATTR InstName RiMC3
  SYMATTR Value 0.01
  SYMBOL res -1952 480 R90
  WINDOW 0 0 56 VBottom 2
  WINDOW 3 32 56 VTop 2
  SYMATTR InstName RiMA3
  SYMATTR Value 0.01
  SYMBOL res -2336 160 R0
  SYMATTR InstName ReC3
  SYMATTR Value 8
  </code></pre>
  
  <p>Question:<br>
  How can I changes a word, I don´t know, in a file, but I know where it is, compared to another word I know? </p>
  
  <p>An example:<br>
  I know the word "RiMC3", I need to changes the 3th word after this word to "0.02".<br>
  In the file Snippet the value is "0.01", but this will not always be the case. </p>
  
  <p>My Solution:<br>
  I need a place to start.
  Is this call something special? I have not found anything like this on google.</p>