On 27 Feb 2014, at 11:27 AM, outtacontext <[email protected]> wrote:
> I need to search for this string and delete all of them in 70 web pages. The > only problem is that the file names are different as are the link names (I've > bolded and made red those the part of the search that will be different in > every file): > > <blockquote> > <h3><a href="/exhibitions/online/roby/xxx.cfm">XXX </a></h3> > </blockquote> Assuming you want to delete the entire blockquote... Go to "Search > Multi-File Search..." Open BBEdit's find window and paste this into the "Find" field: > <blockquote> > [ ]*<h3><a href="/exhibitions/online/roby/(.+).cfm">(.+) </a></h3> > </blockquote> Leave the "Replace" field blank. Make sure that "Matching: Grep" is enabled. Then select the files you want to search. For a dry-run just click "Find All" - and when you're ready click "Replace All". -- 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].
