<div class="article">
<p class="title">Test!</p>
the <div>Content content</div>
<p>test test</p>
<div class="test">test</div>
<p>test</p>
</div>
<?= rand(0,100); ?>
<div class="article">
<p class="title">Test1!</p>
the <div>Content content1</div>
<p>test test1</p>
<div class="test">test1</div>
<p>test1</p>
</div>
/
(.*?)<\/div>/igs
, but all zerobeta on the first occurrence
Find more questions by tags Web DevelopmentRegular expressionsProgrammingPHP
Should the structure change, for example
would not have to work
PS: No famous answer on SO this review would not be complete: https://stackoverflow.com/a/1732454 - Candace_Bogisich commented on June 14th 19 at 18:24