how to remove some words in php
<p>I want to remove all the prepositions(in, at, on...), definite articles(a, an ,the...) and be verbs(is, are, was...) from a article. Is there a short way that php can do that?</p>

<pre><code>$article= "the cup is on the table";// I want get an echo like "cup table" 
</code></pre>
