Lookahead Assertions

radim24

Newcomer
Joined
Sep 8, 2006
Messages
1
Hello,
i have some problem.
I have something to resolve with lookeahead and lookbehind assertions.

I have an options, and there is a text value like this: <b>title</b>. I need to get the tag without the title.

Example
<option class=select value="0"><b>title1</b></option>
<option class=select value="1"><u><i>title2</i></u></option>
<option class=select value="2"><i>cite</i></option>
<option class=select value="3"><u>underline</u></option>
<option class=select value="4"><P id=i>text</option>

The request should say: there are tags beetween "<option class="... sometext ... ">" and "</option>" and i need to get them without the text within.

Please help. Thank you.
 
Back
Top