you specifically said: "So i need to remove the <structured-content> tags entirely but preserve the content and tags WITHIN these elements, is this at all possible with grep in bbedit ?"
my solution does just that. if a yutz like me and a monster like christopher are both unclear on what you're looking to accomplish, it's clearly on you to provide specific before and after examples of EXACTLY what you're starting with and would like to end up with... the more, the merrier. On Sunday, May 12, 2019 at 2:53:56 PM UTC-7, cosmo wrote: > > just to clarify, i am loohing for a way to find and delete specific tags > ONLY while preserving all other tags, including those contained WITHIN the > tags i want to remove. So for the above example the output i'm looking for > is: > > > Original Markup: > > <structured-content content-type="task" vocab="work" vocab-term="main" id= > "id-c416e7d8-cd3d-4c85-bb5a-d5496d0aa54a">Some <xref ref-type="ctrl" rid= > "id-a1847df5-8e01-21d8-f1d1-88b03728498b">text content</xref> here. > </structured-content> > > > Processed markup: > > > Some <xref ref-type="ctrl" rid="id-a1847df5-8e01-21d8-f1d1-88b03728498b">text > content</xref> here. > > -- 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 to the group. Follow @bbedit on Twitter: <https://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]. Visit this group at https://groups.google.com/group/bbedit. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/7410eacb-b076-46b9-b844-8f4d696fc651%40googlegroups.com.
