<?php $week = "Monday,Tuesday,Wednesay,Thursday,Friday,Saturday,Sunday"; $preg = "/([^,]+),([^,]+)$/"; preg_match($preg, $week, $match); print_r($preg);
You have javascript disabled. You will not be able to edit any code.