in reply to Re: Data normalisation
in thread Data normalisation
E.g.,
$day = '([0-3]?[0-9])(?:th|st|nd|rd)'
And in the if, something like:
if ((($month, undef, $day, $year) = /($month)($day)($year)/io) ||
I didn't go through your regexes and if clauses and give you the exact solution, but I think you get the idea.
|
|---|