title: Splitting the array with / slash
body: <p>From debugger in my string of arrays I am getting this:</p>
  <pre><code>&quot;/mercedes-benz/190-class/1993/&quot; class=&quot;canonicalLink&quot; data-qstring=&quot;?sub=sedan&quot;&gt;1993
  </code></pre>
  <p>I wish to split text after each <code>'/'</code> and get it in <code>string[]</code>, here is my effort:</p>
  <pre><code>Queue&lt;string&gt; see = new Queue&lt;string&gt;(); //char[] a = {'\n '};
         List&lt;car_facts&gt; car_fact_list = new List&lt;car_facts&gt;();
         string[] car_detail;
  
         foreach (string s in car)
         {
           
              MatchCollection match = Regex.Matches(s, @&quot;&lt;a href=(.+?)&lt;/a&gt;&quot;,
              RegexOptions.IgnoreCase);
  
              // Here we check the Match instance.
              foreach(Match mm in match)
              {
                  // Finally, we get the Group value and display it.
                  string key = mm.Groups[1].Value;
                  //key.TrimStart('&quot;');
                  //key.Trim('&quot;');
                  key.Trim();
                  
                  // @HERE: I tried with string.Split as well and tried many combinations of separators
                  car_detail = Regex.Split(key, &quot;//&quot;);
                  
                  see.Enqueue(key);
              }
  }
  </code></pre>
  <p>In <code>car_detail[0]</code> I get this <code>&quot;$[link]&quot;&gt;$[title]</code></p>
  <p><strong>from this string</strong>:</p>
  <pre><code>&quot;/mercedes-benz/190-class/1993/&quot; class=&quot;canonicalLink&quot; data-qstring=&quot;?sub=sedan&quot;&gt;1993
  </code></pre>