Cutting a string with regular expression
<p>I have a string containing some tags in it.</p>

<p>Example: <strong>asp.net vb6 crystal-reports</strong></p>

<p>I use a regular expression to cut this string into several tags like below:</p>

<pre><code>string[] technos = Regex.Split(technoString, @"\W+");

foreach (var techno in technos)
{
    ...
 }
</code></pre>

<p>The problem is that this regular expression is wrong: it produces too much tags. I mean asp.net must be only one tag and crystal-reports must also be only one tag. </p>

<p>At this time, the regular expression gives me the following tags:</p>

<ul>
<li>asp</li>
<li>net</li>
<li>vb6</li>
<li>crystal</li>
<li>reports</li>
</ul>

<p>and I would like</p>

<ul>
<li>asp.net</li>
<li>vb6</li>
<li>crystal-reports</li>
</ul>

<p>Does someone know which regular expression to use?</p>

<p>Thanks.</p>
