Remove unwanted question marks from with in a text file
Posted on 2016-08-26
I have a text file which is thousands of lines long but for some reason I'm getting random question marks showing up on some lines which are not wanted.
Example lines in text file.
At the moment I just open the text file up in notepad and do a find and replace but I want to automate this in Powershell.
So I need a script which simply deletes all the question marks but leaves the rest of the line intact so from the above example to the below.