title: Can I replace a string without find string in PHP?
body: <p>I have text file(test.txt) like this.</p>
  
  <p><strong>test.txt</strong></p>
  
  <pre><code>"HOME" =&gt; "НАЧАЛО",
  "REWARDS" =&gt; "НАГРАДИ",
  "LEADERBOARDS" =&gt; "КЛАСАЦИИ",
  "LOGIN | SIGN UP" =&gt; "ВХОД / РЕГИСТРАЦИЯ",
  "STORE" =&gt; "МАГАЗИН",
  "LOGOUT" =&gt; "ИЗХОД",
  "SET" =&gt; "ПОТВЪРДИ
  </code></pre>
  
  <p>Now i want replace some word from my php flie(test.php).</p>
  
  <p><strong>test.php</strong></p>
  
  <pre><code>$new_word = "НАГРАДИ123";
  $en_word  = "REWARDS";
  </code></pre>
  
  <p>I am using file handling to write a file. My question is can I replace the word <strong>НАГРАДИ</strong> into <code>$new_word</code> in text.txt using <code>$en_word</code>.?? </p>
  
  <p><strong>Result must be like this.</strong></p>
  
  <pre><code>"HOME" =&gt; "НАЧАЛО",
  "REWARDS" =&gt; "НАГРАДИ123",
  "LEADERBOARDS" =&gt; "КЛАСАЦИИ",
  "LOGIN | SIGN UP" =&gt; "ВХОД / РЕГИСТРАЦИЯ",
  "STORE" =&gt; "МАГАЗИН",
  "LOGOUT" =&gt; "ИЗХОД",
  "SET" =&gt; "ПОТВЪРДИ
  </code></pre>
  
  <p>"REWARDS" => <strong>"НАГРАДИ123"</strong>,</p>
  
  <p>Is this possible?? please help me.</p>