title: regex replace string PySpark
body: <p>I have a column with string values like <code>'{&quot;phones&quot;:[&quot;phone1&quot;, &quot;phone2&quot;]}'</code> and i would like to remove characters and result in a string like <code>phone1, phone2</code>. I am using a regex like</p>
  <pre><code>df.withColumn('Phones',
                      F.regexp_replace(F.split(F.col('input_phones'), ':').getItem(1), r'\}', ''))
  </code></pre>
  <p>which returns a string like '[&quot;phone1&quot;, &quot;phone2&quot;]'.
  Is there a way to test different regex and how to exclude other special characters?</p>