I have a field that is full of important data. Unfortunately it is a combination of system generated text and human generated text...so....it is full of trash!
I have a consistent pattern of dates that i need to pull out but i have spaces(whitespaces) inbetween the "-" and such. How can i easily remove the spaces in the middle of text if the length of whitespaces varies?
Here is some example text:
12, 08- 09-2002
11-13-2003
04 - 09-02
36, 10-25-2001
24,12-24-01
the number before the comma is a term in months. I have successfully removed that if a comma exists and can trim trailing and leading spaces. but I don't know how to remove spaces in the middle of the date! Any ideas?
The number of spaces in the middle of dates range from 0 to 8.
I have a consistent pattern of dates that i need to pull out but i have spaces(whitespaces) inbetween the "-" and such. How can i easily remove the spaces in the middle of text if the length of whitespaces varies?
Here is some example text:
12, 08- 09-2002
11-13-2003
04 - 09-02
36, 10-25-2001
24,12-24-01
the number before the comma is a term in months. I have successfully removed that if a comma exists and can trim trailing and leading spaces. but I don't know how to remove spaces in the middle of the date! Any ideas?
The number of spaces in the middle of dates range from 0 to 8.