I have a list of strings,
{"BD4675365", "Corp", "Managers", "Syndicate", "2021-03-08", "8434926"}
and I need to extract the date. It may be in any position.
Can I match a string to see if it is in "date" format, in this case ****-**-**, then extract it from the list?

FromDateString[]? (AndCheck[]?) $\endgroup$FromDateStringgive a different output if the input is not a date? I suppose this is whatCheckdoes. $\endgroup$Check[FromDateString["2021-03-08"], 0], then remove the zeros. $\endgroup$"ISODate"seems also to work. I'm not sure how flexible/rigid the formatting of the dates in your data is. $\endgroup$