First, new to regex, so don't really know where to start. I've done some Google searching and up and down Splunk Answers.
I am creating a POC to search data and it has a known date field. The date field can be populated as d/m/yyyy, dd/m/yyyy, d/mm/yyyy, or dd/mm/year. It always follows the format of day/month/year separated by slashes.
Examples:
1/1/2017
1/11/2017
11/1/2017
11/11/2017
What I would like to do is extract that day month and year as independent pieces to analyze. Id like to extract values based on the slash.
Start point: FiledDate = m/d/yyyy
End point: FiledDateMonth = m , FiledDateDay = d , FiledDayYear = yyyy
Thanks for your help.
↧