On Dec 11, 1:50 pm, Mike E <[email protected]> wrote:
> I really just want to find every instance of...
>
> <?lassoscript
>         var: 'header' = @$__http_header__;
>         $header += 'Expires: Mon, 26 Jul 1997 05:00:00 GMT\r\n';
>         $header += 'Last-Modified: ' + (date_localtogmt: (date))->(format:
> '%a, %d %b %Y %H:%M:%S GMT') + '\r\n';
>         $header += 'Cache-Control: no-store, no-cache, must-revalidate\r\n';
>         $header += 'Cache-Control: post-check=0, pre-check=0\r\n';
>         $header += 'Pragma: no-cache\r\n';
> ?>
>
> ...and remove it from about 1900 files. I'll take another look at the
> grep reference.

In that case, just copy and paste that into the Find dialog, Replace
with nothing, without using the Grep option.

However with a large number of files, and possibly many hands at work,
it is not unusual for the contents of a code block to evolve, take on
a life of their own and be inconsistent. In this case the grep option
I provided would be useful to find the first Lasso code block on every
page and obliterate it.

--steve

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