title: How to use sed to add double quotes around every word, excluding colons and commas
body: <p>I want to alter a <strong>string</strong> so that I have double quotes around every &quot;word,&quot; excluding colons and commas ':,'.</p>
  <p>For example, my input may look like:</p>
  <blockquote>
  <p>[ANALYSIS:true, RESTRICTED:false, STRING_PARAMETER:World,
  JOB_NAME:Hello_Jenkins]</p>
  </blockquote>
  <p>but I want it to appear as</p>
  <blockquote>
  <p>[&quot;ANALYSIS&quot;:&quot;true&quot;, &quot;RESTRICTED&quot;:&quot;false&quot;, &quot;STRING_PARAMETER&quot;:&quot;World&quot;,
  &quot;JOB_NAME&quot;:&quot;Hello_Jenkins&quot;]</p>
  </blockquote>
  <p>I've been using something like (using '_' as the delimiter)</p>
  <pre><code>'echo ${params} | sed -i &quot;s_\'/\\([^:]*\\):/i\'_\'&quot;$1&quot; :\'_g&quot; '
  </code></pre>
  <p>based off of what I've found online, yet it makes no changes to my string.</p>