The String.split methods can be very convenient for easily splitting a provided String based on a provided regular expression String. The only trick is figuring out a regular expression token to use ...
If you’ve programmed in Perl or any other language with built-in regular-expression capabilities, then you probably know how much easier regular expressions make text processing and pattern matching.
basically it needs to be a consistent 8 character date string with leading zeros for single digit values. I'm sure I can figure this out, but I'd like to do it with the least amount of code possible.