Thread: preg_match_all
View Single Post
Old 06-12-2008, 02:00 AM   #11 (permalink)
kelkadir
The Visitor
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
kelkadir is on a distinguished road
Default

I thought we could go on the same thread...
I have the following html or string $str:


<div class="MutiStuffe">
<p><strong>Decription: </strong><br />
extra1, extra2, extra3, ..........extras50</p>
</div>


and I would like to match "extra1, extra2, extra3, ..........extras50"

preg_match_all( "/\,(.*?)\</", $str, $array); matches from extra2 till extras50< including "<"

But still not what I need.
Thanks in advance for your proposals
kelkadir is offline  
Reply With Quote