Single Qoute Replacement Without Comma in String
<p>Suppose, I've the following string:</p>

<pre><code>string str = "'Hello, how are you?', 'your name', what you want";
</code></pre>

<p>I can replace the single quote and comma with the followings:</p>

<pre><code>str.Replace("'", "''");
string[] word = str.Split(',');
</code></pre>

<p>I was wondering how could I get the output like the below:</p>

<pre><code>Hello, how are you? your name what you want
</code></pre>

<p>The comma inside the single quote will not be replaced, only outside of it.</p>