I have a txt file (TSTTTT.txt) with a string value of :
$$FULL_LOAD_DAY=Monday
I would like to change it to, through powershell :
$$FULL_LOAD_DAY=Tuesday
I already know that the regex needed to find my entire string is [regardless of the day]:
\$\$FULL_LOAD_DAY=(\w+)(?=[,.]|$)+
I just don't know how to change my usual Powershell command to include regex:
(Get-Content C:\Private\TSTTTT.txt).replace('a', 'b') | Set-Content C:\Private\TSTTTT.txt