Two solution routes. Learned the ifelse contains date parsing trick from marqueecrew on an oooooold challenge. Revamped this with a regex_countmatches here, love this as a identity tool.
also tried doing it without using datetimeparse! Was a fun route.