This is the example structure of my RSS file:
<item>
<title>My Title</title>
<link>http://www.link.com</link>
<description>The description</description>
<author>Blah Blah</author>
<pubDate>Thu, 26 Jul 2012 10:17:15 -0400</pubDate>
<media:content url="myimage.jpg">
<media:title>sdafsd</media:title>
</media:content>
<position>1</position>
</item>
How can I remove the author tag and its contents, the entire media:content tag and its contents, and the position tag and its contents completely from the file using PHP regular expressions?
Thanks!