Hi,
By 'stuff' I mean anything that's between the ( closed ) bold tags.
This I was hoping to capture with (.|\s)*?
I'm attempting to capture the repeating pattern of bold tags followed by
other html.
Hope this clarifys it and thanks for your help.
"=?Utf-8?B?RXRoZW0gQXp1bg==?=" <>
wrote in news:BABF0EB2-4008-4DEC-85DC-:
>
> Hi,
>
> I did not get the question. Can you clarify?
>
> "(?:<b>(?<bold>.*?)</b>)(.|\s)*?" does capture "<b>Two</b>" as "bold =
> Two"
>
> What do you mean by "all that stuff"? Your regexpression is made to
> only capture the b tags.
>
>
>
>
>
> "Charles Taylor" wrote:
>
>> I have a regular expression problem that is driving me crazy.
>>
>> How do you capture the stuff between two closed html tags i.e
>>
>> <b>One</b>
>>
>>
>> Capture all this 'stuff'
>> <em>dkskldsd</em>
>> <table>
>> <tr><td></td></tr></table>
>>
>> <b>Two</b>
>>
>>
>> this suprisingly doesnt work, it captures the <b> tags but not the
>> 'stuff'
>>
>> (?:<b>(?<bold>.*?)</b>)
>> (.|\s)*?
>>
>> TIA
>>
--
¬¬¬¬nergal¬¬¬¬
|