I've looked into it a bit more and I've realized that I'm going to
need to get good at regular expressions to become a half-way decent
worker; they seem really powerful for automating monotonous tasks and
working quickly. Thanks for pointing me that way.

I tried Alex's suggestion and it picked up all the <table>,</
table>,<tr>,</tr>,<td> and </td> tags without picking up any others,
so it worked well.

Now I'm stuck with a search window that lists all the tags that were
found, but I don't know how to delete them all. Intuitively I want to
select all and delete, but it doesn't seem to work like that. Using
the find/find all/replace dialog box doesn't seem to be able to do it
all at once. How do I do this all at once? Thanks everyone. I'll refer
back to the more detailed GREP responses once I understand GREP a bit
better.

Nick

On Jun 3, 6:12 am, Gabriel Roth <[email protected]> wrote:
> Nick—
>
> In case you don't know: the suggestions from Alex and Kendall use grep,
> which is a powerful way of finding characters that match specified patterns.
> To use it, you'll want to enter the pattern in the 'Find' dialog and make
> sure that the 'grep' box is checked.
>
> For more information on grep, which is one of BBEdit's most useful tools,
> read chapter 8 in the BBEdit manual, available from the Help menu. It gives
> quite a good introduction.
>
> gr.
>
> On Thu, Jun 3, 2010 at 7:31 AM, Kendall Conrad <[email protected]> wrote:
> > You'll want to make that less greedy (using *?) so it doesn't take out
> > too much. You can also simplify by moving the </? outside the
> > parentheses so it doesn't need to be repeated.
>
> > </?(table|tr|td)[^>]*?>
>
> > A little less readable, but we can move the 't' out as well.
>
> > </?t(able|r|d)[^>]*?>
>
> > -Kendall
>
> > On Jun 3, 12:13 am, Alex Satrapa <[email protected]> wrote:
> > > On 03/06/2010, at 10:39, Nick A <[email protected]>
> > wrote:
>
> > > > I'm just smashing all the table tags so that I can keep his content
> > > > and re-style it with CSS once all the tables are gone. How do I select
> > > > all <table>,</table>,<tr>,</tr>,<td> and </td> at once and delete
> > > > them?
>
> > > Find (</?table|</?tr|</?td|</?tr)[^>]*> and replace with '' might work.
>
> > > Alex Satrapa | web.mac.com/alexsatrapa | Ph: 0407 705 332
>
> > --
> > 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]<bbedit%[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.

-- 
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.

Reply via email to