<?php $str = "FREQ=WEEKLY;UNTIL=20170728T080000Z;BYDAY=MO,TU,WE,TH,FR"; preg_match_all('~(\w+)=([^;]+)~', $str, $matches); [$freq, $until, $byday] = $matches[2]; echo $freq, " ", $until, " ", $byday;
You have javascript disabled. You will not be able to edit any code.