title: I want to remove comma between two double quote and allowed space between two double quote
body: <p>I have one search string like txtKeyword and it will accept all the below case for highlighting skills</p>
  
  <pre><code>1.C# JAVA
  2."C#" AND "JAVA"
  5.C# "JAVA"
  6.C#,'JAVA'
  7.C#,"JAVA"
  8.C#,"JAVA",'PHP'
  9.C#,"JAVA" AND PHP
  </code></pre>
  
  <p>In all above case C# and JAVA are highlighted..but for</p>
  
  <pre><code>"MY SQL","SQL SERVER"
  </code></pre>
  
  <p>it will not highlight MY SQL and SQL SERVER because of space between two double quote</p>
  
  <p>so final array is like <code>["MY,SQL,SQL,SERVER"]</code></p>
  
  <p>But i need final array like <code>["MY SQL,SQL SERVER,C#,Java"]</code></p>
  
  <p>Question in logical terms-
   I want to remove comma between two double quote and allowed space between two double quote,and remove all spaces outside two double quote and split array with comma</p>
  
  <p>Here is my code snippet</p>
  
  <pre><code>//Grab basic search string on resume result list
  var grabBasicSearchKeyword = $("#txtKeyword").val();
  
  if (grabBasicSearchKeyword!=null)
  {
      //Remove Unnecessary Characters From Basic Search String
      var finalBasicSearchString = grabBasicSearchKeyword.replace(/[`~!@$%^&amp;*()_|\-=?;:'"&lt;&gt;\{\}\[\]\\\/]/gi, '');
  
      //Check And Remove: "OR","AND","NOT","or","and" &amp; "not" From Basic Search String
      if (finalBasicSearchString.indexOf('OR') || finalBasicSearchString.indexOf('AND') || finalBasicSearchString.indexOf('NOT') || finalBasicSearchString.indexOf('or') || finalBasicSearchString.indexOf('and') || finalBasicSearchString.indexOf('not'))
      {
          var findOR = finalBasicSearchString.replace(/OR/g, ' ');
          var findor = findOR.replace(/or/g, ' ');
  
          var findAND = findor.replace(/AND/g, ' ');
          var findand = findAND.replace(/and/g, ' ');
  
          var findNOT = findand.replace(/NOT/g, ' ');
          var findnot = findNOT.replace(/not/g, ' ');
  
          var removeDoubleQuote = findnot.replace(/"/g, '');
          var removeBackSlash = removeDoubleQuote.replace(/\\/g, '');
          var removeComma = removeBackSlash.replace(/,/g, ' ');
          var finalArray = removeComma.split(" ");
  
          for (var j = 0; j &lt; finalArray.length; j++) {
              if (masterSkillArray.contains(finalArray[j])) {
                  basicSearchHighlightArray.push(finalArray[j]);
              }
          }
          $(".skil-list").highlight(basicSearchHighlightArray);
          $(".post").highlight(basicSearchHighlightArray);        
      }
  }
  </code></pre>