On Sun, Mar 21, 2010 at 08:21:09AM -0700, 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. >
Using the same (?:(?!</td>).)* trick as in my previous email... Find (?s)<td[^>]*>(?:(?!</td>).)*<a[^>]*>(?:(?!</a>).)*</a>(?:(?!</td>).)*</td> Ronald -- 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.
