Is there a way to extract text between html tags? For example, if I had the names of cities in California, each listed separately within paragraph tags, could I print out only the text that appears inside the paragraph tags? 

```
<div class="cities">
    <div><p>Los Angeles</p><h5>Description</h5></div>
    <div><p>San Francisco</p><h5>Description</h5></div>
    <div><p>San Diego</p><h5>Description</h5></div>
    <div><p>Santa Barbara</p><h5>Description</h5></div>
    <div><p>Davis</p><h5>Description</h5></div>
    <div><p>San Jose</p><h5>Description</h5></div>
</div>    

```

I want to target all of the cities in the paragraph tags but not the descriptions in the h5 tags. The expected output would be:

Los Angeles
San Francisco 
San Diego
Santa Barbara
Davis 
San Jose