I have a text file that has some text and in it contains some blocks that looks like
...
...
Tuesday, October 08, 2013
...
...

Wednesday, October 09, 2013
...
...
Now what I want to do is find those block for further processing. Now Im no regex expert
but this is what I got so far.
PHP Code:
$test  "^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday),.*$(\n|\r)";
$matches = array();
preg_match_all($test$text$matchesPREG_SET_ORDER); 
But it obviously does not work. Id appreciate all the pointer/help I could get..