title: How to extract specific content in a pandas dataframe with a regex?
body: <p>Consider the following pandas dataframe:</p>
  
  <pre><code>In [114]:
  
  df['movie_title'].head()
  
  ​
  Out[114]:
  
  0     Toy Story (1995)
  1     GoldenEye (1995)
  2    Four Rooms (1995)
  3    Get Shorty (1995)
  4       Copycat (1995)
  ...
  Name: movie_title, dtype: object
  </code></pre>
  
  <p><strong>Update:</strong>
  I would like to extract with a regular expression just the titles of the movies. So, let's use the following regex: <code>\b([^\d\W]+)\b</code>. So I tried the following:</p>
  
  <pre><code>df_3['movie_title'] = df_3['movie_title'].str.extract('\b([^\d\W]+)\b')
  df_3['movie_title']
  </code></pre>
  
  <p>However, I get the following:</p>
  
  <pre><code>0       NaN
  1       NaN
  2       NaN
  3       NaN
  4       NaN
  5       NaN
  6       NaN
  7       NaN
  8       NaN
  </code></pre>
  
  <p>Any idea of how to extract specific features from text in a pandas dataframe?. More specifically, how can I extract just the titles of the movies in a completely new dataframe?. For instance, the desired output should be:</p>
  
  <pre><code>Out[114]:
  
  0     Toy Story
  1     GoldenEye
  2    Four Rooms
  3    Get Shorty
  4       Copycat
  ...
  Name: movie_title, dtype: object
  </code></pre>