How to parse text fragments located after tag by simplehtmldom?

Posted by moogeek on Stack Overflow See other posts from Stack Overflow or by moogeek
Published on 2010-04-13T11:30:02Z Indexed on 2010/04/13 11:33 UTC
Read the original article Hit count: 480

Filed under:
|

Hello! I'm using simplehtmldom to parse html and i'm stuck in parsing plaintext that is located outside of any tag (but between two different tags):

<div class="text_small">
 <b>?dress:</b> 7 Hange Road<br>    
 <b>Phone:</b> 415641587484<br>    
 <b>Contact:</b> Alex<br>    
 <b>Meeting Time:</b> 12:00-13:00<br>
</div>

Is it possible to get this values of Adress, Phone, Contact, Meeting Time? I wonder if there is a opportunity to pass CSS Selectors into nextSibling/nextSibling functions...

© Stack Overflow or respective owner

Related posts about php

Related posts about parsing