I need to strip some tags from an html file. I have the lines of code below. One line works and the other doesn't. Any help would be greatly appreciated.
html = html.Replace(">", ">" & CRLF) <-- This line works
html = html.Replace("/<head>.*?<\/head>/is", "") <-- This line doesn't
html = html.Replace(">", ">" & CRLF) <-- This line works
html = html.Replace("/<head>.*?<\/head>/is", "") <-- This line doesn't