title: How to remove html tags from string in view page C#
body: <p>How to strip html tags from string in listing page in c#
  I have tried <code>Regex.Replace(inputHTML, @"&lt;[^&gt;]+&gt;|&amp;nbsp;", "").Trim();</code> but this is not working in html view page may be this only work in controller.</p>
  
  <p>This is my action : </p>
  
  <pre><code>public ActionResult Index()
          {
              string AuthRole = "1,2,3";
              ApplicationUser chkuser = common.CheckIsAuthorize(AuthRole);
              if (chkuser != null)
              {
                  var data = db.Page.ToList();
                  return View(data);
              }
              else
              {
                  return RedirectToAction("Index", "Home");
              }
          }
  </code></pre>
  
  <p>This is my view : </p>
  
  <pre><code>foreach (var item in Model)
  {
  &lt;tr&gt;
      &lt;td&gt;@i&lt;/td&gt;
      &lt;td&gt;@item.Title&lt;/td&gt;
      &lt;td&gt;@item.Message&lt;/td&gt;
      &lt;td&gt;
          @Html.ActionLink("Edit", "Edit", new { id = item.Id })
      &lt;/td&gt;
  &lt;/tr&gt;
  i++;
  }
  </code></pre>
  
  <p>My listing look like below :</p>
  
  <p><a href="https://i.stack.imgur.com/t8Wbn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8Wbn.png" alt="enter image description here"></a></p>