Use replaceAll function in regex to erase every tags enclosed in < > str = Regex . Replace ( str , " < . * ? > " , String . Empty )
System . Text . RegularExpressions . Regex rx = new System . Text . RegularExpressions . Regex ( " < [ ^ > ] * > " ) ; str = rx . Replace ( str , " " ) ;