Allen, Thank you. Took a lot of poking around, but I got a text factory that does more or less what I need.
A couple questions about Text Factories: 1. I can't seem to re-order the elements. It looks like you can drag them to a different place, with an insertion line, but nothing happens. 2. Is there way not to specify what folders to start at, and make it a droplet? Thanks. On 3/30/06 5:39 PM, "Allen Watson" <[EMAIL PROTECTED]> wrote: > You might try multiple find/replace commands. Experiment with them manually > on a single file. Then, try incorporating them into a Text Factory so you > can execute the entire sequence of replace operations on a set of files. > > You could do a search, for instance, for "(</title>)(?s)(.*)(<script>)" > replacing with "\1\3", which effectively should remove your first "[delete > everything]" segment; then repeat with a similar search for each segment to > be deleted. You'd be left with what you want. The sequence "(?s)" is an > instruction that allows the dot character following to match line breaks as > well as any other characters. > > > On 3/29/06 9:08 PM, "Loren Ryter" <[EMAIL PROTECTED]> wrote: > >> Hi there. >> >> I subscribed to this list to ask this question. >> >> I want to do a multi-file search to strip down HTML to the part I want to >> keep. This is what I want. "...." means I want to keep everything between >> the mentioned tags. >> >> Top of document .... </title> >> [delete everything] >> <script> .... </script> >> [delete everything] >> <!-- #BeginEditable "isi" --> .... <!-- #EndEditable --> >> [delete everything] >> </body> ... End of document >> >> How would I do this? I know very basic regex, but not enough to pull this >> off. >> >> Thank you. >> >> >> >> -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
