On Mar 21, 2010, at 11:21 AM, Warren Michelsen wrote:

> I need to search using grep to find...
> 
> A pair of <td></td> tags across multiple lines
> 
> between which is an anchor <a> </a> which can contain any text and which may 
> also be across multiple lines.
> 
> I can find parts of what I want but have been unable to put together the 
> parts to find the whole.

Use (?s) to allow . to match line breaks. For example:

        (?s)<td>.*?</td>

— Jim

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to