Script required to update current month to next month
Hello All,
I need script which should do multiple actions in one go...
1. Its recurring project every month I need to update month, lets say this month March to April and next month April to May. Everytime I should not replace AB month with CD month. It should be in loop, when it find March should replace with April and so on accordingly for next month.
2. In same document I need to replace Jan. 31 with Feb. 28 and next month Feb. 28 with March 31. Here for "January", "Februrary", "August", "September", "October", "November", "December", months will be in short form and for rest it will be full. Date would be last day of the month.
3. Update "13 months" with "14 months" and "14 months" with "15 months". This will continue till "23 months" with "24 months". Reason behind placing months after number is because if there is same number some where in document it will be replaced. In this instance luckily we have months followed by number, so it would be easy distinguish and replace.
4. Replace 01/20 with 02/20 and next month 02/20 with 03/20.
5. Replace ABC1234 with ABCXXX. ABC will be any three alphabets and 1234 would be any 4 digits with same three alphabets following XXX or else would be with some digits.
Hope I made my requirement clear, could someone help me with script to do all these actions in one go. It could save my time. Thanks in Advance.