I need to get part of code inside < ins> tag from source:
<some tags there and code there><ins class="adsbygoogle"
style="display:inline-block;width:670px;height:100px"
data-ad-client="ca-pub-9438155779940585"
data-ad-slot="1115596158"></ins>bla bla there <tags></tags>
I googled and searched all stackoverflow for hours, use site https://regexr.com/ and cant do it!
I tried :
/<ins[.\s]*<\/ins>/ism
/<ins[.|\s]*<\/ins>/ism
/<ins(\w\d\s.)*<\/ins>/ism (i know thats is totally wrong, but i also tried many combos like this)
And all million other combinations. Nothing helps, please help!