The date is now: $testString

"; $myResult = ereg($myPattern, $testString, $matches); if ($myResult) { echo "

A match was found when testing case sensitively.

"; echo "

Expressed in MM/DD/YYYY format the date is now, $matches[2]/$matches[3]/$matches[1].

"; } else { echo "

No match was found when testing case sensitively.

"; } ?>