Is there a way to remove everything after either 'am' or 'pm' in the date (the excerpt) on a WordPress site that has a list of headlines followed by a source attribution and a date?
Example:
NBA Finals: Warriors will face Cavaliers yet again
USA Today – NBA | May 29, 2018 5:39 am Sports Pulse: USA TODAY Sports’ Sam Amick breaks down the Warriors’ Game 7 win over the Rockets, and how they’ll match up in a fourth consecutive.
HTML containing the content:
<div class="entry-content cf" itemprop="text">
<div class="entry-excerpt">
<p>
Boston Herald – Boston Celtics | May 29, 2018 8:47 am Here we go again. And again. And, well, again. Round 4 — as many predicted, and others probably lamented — is happening. Cleveland and Golden
</p>
</div>
</div>