Chris, Your code worked perfectly. "Good Job!” Thank You. On Tuesday, February 23, 2016 at 6:34:08 PM UTC-6, Christopher Stone wrote: > > On Feb 23, 2016, at 17:52, Bill Walker <[email protected] <javascript:>> > wrote: > > I would like to replace large chunks of code bracketed by the same tags > in many files. I can replace large sections using start and ending tags … > provided I duplicate the +.*[/r] the correct number of times. > ______________________________________________________________________ > > Hey Bill, > > Try this: > > (?s)</title>.+?</head> > > See this: > > https://regex101.com/r/vA9hE3/1 > > Note that I had to escape the forward slashes in the pattern for this > analyzer: > > (?s)<\/title>.+?<\/head> > > -- > Best Regards, > Chris > > --
-- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
