title: Extracting only characters from a string in Python
body: <p>In Python, I want to extract only the characters from a string.</p>
  
  <p>Consider I have the following string, </p>
  
  <pre><code>input = "{('players',): 24, ('year',): 28, ('money',): 19, ('ipod',): 36, ('case',): 23, ('mini',): 46}"
  </code></pre>
  
  <p>I want the result as, </p>
  
  <pre><code>output =  "players year money ipod case mini"
  </code></pre>
  
  <p>I tried to split considering only the alphabets,</p>
  
  <pre><code>word1 = st.split("[a-zA-Z]+")
  </code></pre>
  
  <p>But the split is not happening.</p>