hi fnds,
i want to Replace existing date with current date for multiple times in notepad…
hi fnds,
i want to Replace existing date with current date for multiple times in notepad…
@venkateshtangudu Read the text file and store into a string type of a variable. Lets say you stored into a variable- textContent
use assign activity
textContent
= textContent.Replace("20190605", Now.ToString("yyyyMMdd"))
Cheer!!
textContent
= textContent.Replace("20190605", Now.ToString("yyyyMMdd"))
20190605-----will be not constant it will be changing every month in my note pad…
how i can do that
It is okay. Look for Enddate Timestamp
and replace date using string manipulation which is at the third position or find the numbers in the same line using regex and replace with the date.