Get the next word in a string after another word
<p>I am trying to get the meta content in a PHP activity system and the problem is that it's giving the content as</p>

<blockquote>
  <p>admin wrote a new post, FIRE 2 days, 2 hours ago</p>
</blockquote>

<p>So in this I want to get the word "fire" but since it's the title it would be dynamic and so what I can do is find the word post, because it would be common in all so I can get the next word after <code>post,</code> if <code>post,</code> is present. Can anyone suggest me how to do this? Suppose we have one more content like this</p>

<blockquote>
  <p>admin posted an update 2 days, 3 hours ago</p>
</blockquote>

<p>It does not have <code>post,</code> so it would be avoided. </p>
