Code: Select all
id="Picture 9"
The problem is that the number character, in this case shown the number 9, can be any number from 0 to 100 at random. I never know what the number will be.
I tried the following code in my DOS batch file with no results:
Code: Select all
powershell -Command "(gc *.htm) -replace 'id="Picture ?"', '' | Out-File *.htm"
where '"id="Picture "', '' ends with two single quote marks in order to remove all text.
My faulty logic was that the question mark would act as a wild card for that character position.
Can someone please help me on this issue?
Thank You
Phaedrus T. Wolfe