Extract and process substring between varying numbers of delimeters in a variable length string I have a table, named ‘dates’.