Hi,
Using Powershell, how would I change two pieces of text with a string at the same time.
For example, lets say the string is a date 01/20/2010. I want to change the month and year and leave the day along.
So if the file is contains
01/20/2010
01/21/2010
and I want to the script to change the month to 02 and year to 2013 so that it looks like
02/20/2013
02/21/2013
How is that done. If I try ?? wildcards I end up with
02/??/2013
02/??/2013