I know there's a lot of questions about this but it seems there's no simple way to do what I want. Take the following strings as an example:
expires Friday, December 21, 2012 @ 11:59pm ET
expires Saturday, December 22, 2012 @ 9:59pm ET
Both strings are similar but the following code is inconsistent:
echo substr($string, 14, 27);
as it outputs the following:
Friday, December 21, 2012 @
Saturday, December 21, 2012
Clearly, I don't want to keep the @ symbol. Is there a way to simply keep the date while removing "expires " and " @ ##:##pm ET"?