Can you put the output you expect for this string? On Mon, 10 Oct 2022 at 22:25, a k <[email protected]> wrote:
> Hey all, > > I'm looking to use grep to remove text contained within a tag (including > the tag itself). More specifically - I need to find and remove a bunch of > iframe tags from multiple .txt files. > > Here's an example tag: > > *<iframe > src="https://website.com/1.0/ifr?zid=123456&cb=${CACHEBUSTER}&abc_imp=${AUC_ID}&c=${CLICK_URL_ENC}& > <https://website.com/1.0/ifr?zid=123456&cb=$%7BCACHEBUSTER%7D&abc_imp=$%7BAUC_ID%7D&c=$%7BCLICK_URL_ENC%7D&>" > frameborder="0" scrolling="no" width="123" height="456"></iframe>* > > because the zid, width and height always differ and appear in other places > in the document (that need to be preserved) I cant do a regular find and > replace. > > a complete beginner to BBEDIT and grep so apologies if this question is a > bit remedial. I have bunch of code cleanup tasks that are very repetitive > and I'm confident could be solved with grep, just not 100% sure how to go > about it. > > -- > This is the BBEdit Talk public discussion group. If you have a feature > request or need technical support, please email "[email protected]" > rather than posting here. Follow @bbedit on Twitter: < > https://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 view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/ba2bdebc-1e4e-4849-ad21-bfea60bd00e4n%40googlegroups.com > <https://groups.google.com/d/msgid/bbedit/ba2bdebc-1e4e-4849-ad21-bfea60bd00e4n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kaveh Bazargan PhD Director River Valley Technologies <http://rivervalley.io> ● Twitter <https://twitter.com/rivervalley1000> ● LinkedIn <https://www.linkedin.com/in/bazargankaveh/> ● ORCID <https://orcid.org/0000-0002-1414-9098> *Accelerating the Communication of Research* -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://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 view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAJ2R9pi%2Bv9R%2B%3DgULdOLuYyQAvYykYj0RRdPcOX44hEG6mRvdEg%40mail.gmail.com.
