This Regex is written with the .Net Regex Class.
So I have this string:
<div style="text-align:center;font-size: 18px;"><span style="font-size:14px;">11th of April 2015</span> 18:10</div>
I have this Regex Code:
[0-9]{1,2}(st|nd|rd|th) of \w{3,9} \d{4}<\/span> \d{1,2}:\d{1,2}
This Code return this Match:
11th of April 2015</span> 18:10
Is there a possibility with Regex to exclude the
(st|nd|rd|th) of
and
</span>
from the Match to make it look like this:
11 April 2015 18:10
I have tried with positive lookbehind, but I didn't get it to work.
