I am using the below C# script to remove HTML tags from a description column when running in SSIS. I have tried to add the following unicode : to the string htmlTagPattern below, but I can not get it to work.
Any assistance is appreciated.
public class ScriptMain : UserComponent
{
    public override void Input0_ProcessInputRow(Input0Buffer Row)
    {    
         Row.Message = RemoveHtml(Row.Message);
    }
   public String RemoveHtml(String message)
   {
       String htmlTagPattern = "<(.|\n)+?>";
        Regex objRegExp = new Regex(htmlTagPattern);
        message = objRegExp.Replace(message, String.Empty);
        return message;
    }
}
 
     
    
– David F Dec 27 '17 at 13:57