Just take the string, tokenise and parse it.
I could go and actually write the PHP solution, but it’s just string manipulation, do you just want an answer?
Split around non numeric, parse each item in the array and convert to a unix.
Or you could replace non numerics with a : and then pass to strtotime and go from there.
Thats two possibles.