title: C# how to split a string on the basis of <> character
body: <p>I want to split my text by &lt;> characters.
  <br/>Example suppose I have a string <br/></p>
  
  <pre><code> string Name="this &lt;link&gt; is my &lt;name&gt;";
  </code></pre>
  
  <p>Now I want to split this so that I have a array of string like</p>
  
  <pre><code>ar[0]="this "
  ar[1]="&lt;link&gt;"
  ar[2]=" is my "
  ar[3]="&lt;name&gt;"
  </code></pre>
  
  <p>I was trying with split function like</p>
  
  <pre><code>string[] ar=Name.Split('&lt;');
  </code></pre>
  
  <p>I have also tried </p>
  
  <pre><code> string[] nameArray = Regex.Split(name, "&lt;[^&lt;]+&gt;");
  </code></pre>
  
  <p>But this is not giving me </p>
  
  <pre><code> "&lt;link&gt;"
   and "&lt;name&gt;"
  </code></pre>
  
  <p>But it is not a good approach.<br/>
  Can I use <strong>regular expression</strong> here.</p>