title: Apply list of regex pattern on list python
body: <p>I have data frame in which <code>txt</code> column contains a list. I want to clean the <code>txt</code> column using function clean_text().</p>
  
  <pre><code>data = {'value':['abc.txt', 'cda.txt'], 'txt':['[''2019/01/31-11:56:23.288258 1886     7F0ED4CDC704     asfasnfs: remove datepart'']',
                                                 '[''2019/02/01-11:56:23.288258 1886     7F0ED4CDC704     asfasnfs: remove datepart'']']}
  df = pandas.DataFrame(data=data)
  
  def clean_text(text):
      """
      :param text:  it is the plain text
      :return: cleaned text
      """
      patterns = [r"^{53}",
                  r"[A-Za-z]+[\d]+[\w]*|[\d]+[A-Za-z]+[\w]*",
                  r"[-=/':,?${}\[\]-_()&gt;.~" ";+]"]
  
      for p in patterns:
          text = re.sub(p, '', text)
  
      return text
  </code></pre>
  
  <p><em>My Solution</em>:</p>
  
  <pre><code>df['txt'] = df['txt'].apply(lambda x: clean_text(x))
  </code></pre>
  
  <p>But I am getting below error:
  <em>Error</em></p>
  
  <pre><code>sre_constants.error: nothing to repeat at position 1
  </code></pre>