-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is an interesting step that you are describing, but what is the end
goal? Based on your data I am going to guess that your desire to detect
the format is not merely for your health. Knowing the end goal could go
a long way toward helping you clean this up, potentially. Simply
matching a regex is pretty easy, but then you'll need to have three
tests and an action for each to fix a specific symptom, or at least two
tests (one for days and one for months) and fixes for them.

Anyway, knowing the end goal can help with providing the best possible
answer.

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQBdzoAAoJEF+XTK08PnB5edkQAITTR/f1/5QfcCWkRwqPTkYz
Nze4+UYjeeBkchsxKqhvi0pxPWJZffFJD1CFNp6UHof08XqwEe 5w/Q/wy5oEPrP8
PqWEgfmQy2iwi5Jt9GY23iO2LlYsdjYIEu1ixF+Ovw5hYMa8vK 6hGk+NTvelVRiN
BkvTqJEgjhcVO2/iLG7MIHLdeP9dq8Sc68iKUWNkWXEfyifnOoOIs9CZeVZYf7l7
H5I1IiP330G/e/KtLjyUcPbCeMpNnVwjGHi4VP1ReahoF9D+txAablwQK4+dydR3
6AAC2YXSsCdI6I4UwDuEY/nJjJaWzn/bEiAEvNPn3t3G18xL9/PXbIpFKJ+QJGW/
cRSC2nNoKEolc+8xoEWvzs5LTxVb3CksbtbIDvfKAinqLgthcp RSnKn3GN1JXLTx
QFag6Ms0Ey8i5ilKhaWknlPVzpvZ9gr0bLI/XJNrjO8JGeerfjy7mPlMXC1woIxf
3Z9Z1wtQYxZUxW3wc1u6LH8nkMUTPmDmMaT/+K3QV5EaS9FzziNaBPYW8eqCxqjF
qf7cjXAhuUBDtgv2NG9v5Xw4XhmHUitPG7M3SAFLb6iKkoyRCJ Cs5pRHfXaEU9An
dze85Y8WrFX3od4nkmmPfr9zpm6j3bqT4ccd8VzYJWfxRrvSOD 7iXDT0JtQP9uhK
ONrzhqKaMRvfmtYhOHIl
=Ggu8
-----END PGP SIGNATURE-----