I have a HTML file with this text:
... ... ...weeks*<br><br><i>If Yes , please complete the MYD88 L265P Blood form.<br><br>Optional if the Follow-Up v isit date is on or after 9/13/2017 (Amendment #8)<br></i>*Offer1 ... ...
I want to remove everything that is between <br>
and </i>
.
I am trying this but it's not working as the search needs to be performed in multiple lines
powershell -Command "(gc myFile.XLS) -replace '<br>.*</i>', '' | Out-File myFile1.XLS"