I have hundreds of html pages with tags that I need to get rid of. I can go thru each page and remove but that would take a very long time. Is there a way to use a wildcard to search and remove these tags? I've used the following when I know what the text is:
fileReader = My.Computer.FileSystem.ReadAllText("C:\Documents\Working\Content\" & strTag & "\" & strFile).Replace("<img src=""""*.jpg", strTag & "-" & strPhotoNum & ".jpg")
My.Computer.FileSystem.WriteAllText("C:\Documents\Working\Content\" & strTag & "\" & strFile, fileReader, False)
Can Regex be used to do this? if so can you point me to example?
Using VB.NET 2010