> replaced everything from the first table tag until the one following the
> string (as it should).
> I need to replace everything from the table tag preceeding the string
> until the one following the string.

Huh?  Are you wanting to match the beginning of the next table, too?

If so, try:

<table.+?string.+?</table>.*?<table[^>]*>

for your regex.

If that's not what you're trying to do, please clarify the problem.

--Ben
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to