attempting to parse a ICal RRule string
<pre>
RRULE:FREQ=DAILY;INTERVAL=1;BYDAY=TU,WE,FR;UNTIL=20110713T075959Z;WKST=SU
</pre>

<p>I'm building a drupal site and the Date module outputs this code, which I need to display on a page in a more readable format. </p>

<p>I just want to get the days and the end date which is the UNTIL.</p>

<p>I'm not sure how to approach it. I'm not very good with regular expressions.</p>
