title: Extracting words from a string
body: <p>Text= &quot;hello, I'm trying to __ extract texts __ in this string&quot;</p>
  <p>Good day! Everyone,
  I'm trying to extract the words after the double underscore and stop at the double underscore after the word.
  I've tried using Regex(re.search()) but I don't get what I want.</p>
  <pre><code>Text= &quot;hello, I'm trying to __ extract texts __ in this string&quot;
  
  text = text.split()
  new=[text]
  for word in new:
      if word.startswith('__') and word.endswith('__'):
          print(word)
  </code></pre>
  <p><strong>This is what I tried before using Regex as a second option</strong>, I would appreciate as you help me out :-)</p>