Hi - I have these different formats of file name, how would you best get the date from it:
04 MC report - Apr 2018
04 MC report - Apr 2019
04 MC report - Apr 2020
04 MC report - Apr2015 Revised
04 MC report - Apr2016
05 MC report - May 2017
05 MC report - May 2018
thanks!
Jen
Solved! Go to Solution.
@MarqueeCrew Thanks! I can't guarantee that they will always be in the same position, as this is for 10 years of files, could be missing a space somewhere or have an extra one added.
Hi @jenner85,
I'm not the best with RegEx but I think this should work -
([A-Z][a-z]+[\s+|\S]\d{4})
Regards,
Ben