How to remove, certain part of the code from many php files.
<p>I am new to php, I have created many files and now I need to remove, certain part of the code from many php files. I know this question sounds familiar, but i need a very basic and simple explanation, just like a beginner.</p>

<pre><code>&lt;li style="opacity: 1;" class="span3"&gt;
    &lt;div class="thumbnail"&gt;&lt;a href="cd_sticker_printing_sticker.php" class="thumb"&gt;&lt;img src="brochure/cdstickercoverprinting/sticker/1 (3).jpg" alt="Product"&gt;&lt;/a&gt;
      &lt;p&gt;&lt;a href="cd_sticker_printing_sticker.php"&gt;STICKER&lt;/a&gt;&lt;/p&gt;
      &lt;p class="price"&gt;&lt;span&gt;€ 1.230&lt;/span&gt;&lt;/p&gt;
      &lt;p class="rating"&gt;&lt;i class="icon-star"&gt;&lt;span&gt;1&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;2&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;3&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;4&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star-empty"&gt;&lt;span&gt;5&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
      &lt;a href="enquiry.php"&gt;&lt;input value="For Enquiry" class="btn" type="button"&gt;&lt;/a&gt;
      &lt;a href="#" class="add-list"&gt;&lt;i class="icon-star"&gt;&lt;/i&gt;Wish List&lt;/a&gt;&lt;a href="#" class="add-comp"&gt;&lt;i class="icon-tasks"&gt;&lt;/i&gt;Compare&lt;/a&gt;&lt;/div&gt;
  &lt;/li&gt;
</code></pre>

<p>I need to remove <code>&lt;p class="rating"&gt;&lt;i class="icon-star"&gt;&lt;span&gt;1&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;2&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;3&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star"&gt;&lt;span&gt;4&lt;/span&gt;&lt;/i&gt;&lt;i class="icon-star-empty"&gt;&lt;span&gt;5&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;</code> and <code>&lt;a href="#" class="add-list"&gt;&lt;i class="icon-star"&gt;&lt;/i&gt;Wish List&lt;/a&gt;&lt;a href="#" class="add-comp"&gt;&lt;i class="icon-tasks"&gt;&lt;/i&gt;Compare&lt;/a&gt;</code> from the above list</p>