Add Facebook like button after all image in string : <p>How can I add facebook like button, after all image in string.</p>

<p>For example:</p>

<pre><code>&lt;p&gt;This is some text. This is some text. This is image: &lt;img src='url'/&gt;. This is some tekst. This is new image: &lt;img src='url'&gt;&lt;/p&gt;
</code></pre>

<p>I want change to this:</p>

<pre><code>&lt;p&gt;This is some text. This is some text. This is image: &lt;img src='url'/&gt;&lt;facebook like buuton&gt;. This is some tekst. This is new image: &lt;img src='url'&gt; &lt;facebook like button&gt;&lt;/p&gt;
</code></pre>
