I have a text:
<p>Stackoverflow is the best</p>site
and I would like to get only
Stackoverflow is the best
I combine with:
/<p>[\s\S]+</p>/
but I get Stackoverflow is the best site.
[\s\S]+ <= it must be, because between <p> and </p> can be everything
Can you help me?
Thanks
 
     
     
    
([\s\S]+?)
`](https://regex101.com/r/aZ6nD7/1) – Jan May 22 '16 at 16:23` elements) ?
– RomanPerekhrest May 22 '16 at 16:47and
in