Regex extract everything after and before a specific text
<p>I need to extract from this:</p>

<pre><code>&lt;meta content=",\n\n\nÃscar Mauricio  Lizcano Arango,\n\n\n\n\n\n\n\nBerner LeÃ³n Zambrano Eraso,\n\n\n\n\n" name="keywords"&gt;&lt;meta content="Congreso Visible - Toda la informaciÃ³n sobre el Congreso Colombiano en un solo lugar" property="og:title"/&gt;&lt;meta content="/static/img/logo-fb.jpg" 
</code></pre>

<p>The names shown in there: Ãscar Mauricio Lizcano Arango and Berner LeÃ³n Zambrano Eraso.</p>

<p>So it would be something like everything after </p>

<pre><code>&lt;meta content=" 
</code></pre>

<p>and before </p>

<pre><code>name="keywords". 
</code></pre>

<p>Also, using python, I would like to put every name as an element of a list. I would repeat this many times for different strings and the amount of names vary (it could be 4 names instead of 2 as in this case).</p>

<p>How could I do this?</p>

<p>I was able to do it by doing</p>

<pre><code>re.findall(r'(?&lt;=content=",)[^.]+(?=name=)', names)
</code></pre>

python regex