Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Gabriel Roth
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,

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Ronald J Kimball
On Thu, Jun 03, 2010 at 04:31:03AM -0700, Kendall Conrad 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)[^]*? There is no need to use a

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Nick A
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

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Ronald J Kimball
On Thu, Jun 03, 2010 at 09:10:39AM -0700, Nick A wrote: 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

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Robert A. Rosenberg
At 9:10 AM -0700 on 06/03/2010, Nick A wrote about Re: Multiple HTML tag selection and delete with BBEdit Mac: 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

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Bruce Van Allen
On 2010-06-03, Nick A wrote: 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

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Lorin Rivers
On Thu, Jun 3, 2010 at 12:41 PM, Bruce Van Allen b...@cruzio.com wrote: You need to study BBEdit more. There (of course) is a Replace All command. BUT before you do that... What people have been suggesting is using the search pattern for the table element markup and replacing each instance

Re: Multiple HTML tag selection and delete with BBEdit Mac

2010-06-03 Thread Alex Satrapa
On 04/06/2010, at 2:10, Nick A nicholasalexanderad...@gmail.com wrote: 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.