Hi All,
Is there a way to extract a date from within a string, when the format and position of the date is inconsistent?
Examples of the dates in a full string are as follows (I've used 'Text' to identify a non date text string/word which can vary in number of characters, though to complicate further the number of words in the full string can also vary):
Text 31-01-2017 Text Text Text
Text 31/01/17 Text Text Text
Text 31.01.17 Text Text Text
Text 31/01/2017 Text Text Text Text
Text Text Text Text 31-01-2017
Text Text Text Text 31/01/17
I can extract the date string & convert to a value if the position (whether by first/last character position or word number) is static or if the date followed a certain character (Using FIND), however this is not the case. Is there any function like "StringContainsADate" or any other way to achieve this?
Thanks in advance
Tooley
Bookmarks