What is the way to get specific data using PHP. In this case i want to get some text which is wrapped by `<span class="s">` to the first `<b>` HTML tag.  
Assuming a HTML source code is:

```
Once there was a king <span class="s"> May 3  2009 <b> ABC Some Text </b> Some photo or video</span> but they have...

```

So, here i want to get those filtered data in a variable like: `$fdata = "May 3 2009";`  
Because, `May 3 2009` is wrapped by `<span class="s">` to the first `<b>` HTML tag.

I will use it in SIMPLE PHP HTML DOM PARSING. So, any idea or example to filter those text and get it in a variable? Any idea will be a great help.   

\*If you found a duplicate question [here](https://stackoverflow.com/questions/13177740/dynamically-exclude-content-in-php-simple-html-dom-parser), its not that its more specified.