Hello,
I apologize if this was already posted here, I could not find it.
I am struggling with a simple expression in php (preg_match_all) which seems to be matching every second occurrence:
string: "<br>1<br>2<br>3<br>4<br>5<br>"
reg. ex: /<br>(.*)<br>/siU
This seems to be finding 1, 3 and 5, but I want it to match all strings between the "<br>" tags. It should return 1,2,3,4 and 5.
Any ideas?
Thanks.