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}&";
 
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.

Reply via email to