I'm looking for regex that can extract the dates from the following html code:
<div class="image-subtitle">
Fri 10 Jun 2022 </div>
and make it so that it can still find the date format from strings like these, where there can be additional code before or after the date, but the beginning and end pattern stays the same:
<div class="image-subtitle">
Thu 9 Jun 2022 <sup class="sold-out-highlight highlight-light"> Few Tickets Left </sup> </div>
or like this
<div class="image-subtitle">
<span class="sold-out sold-out-light">Sat 4 Jun 2022</span> <sup class="sold-out-highlight highlight-light"> Sold Out </sup> </div>