<div dir="ltr"><div><div><div><div><div>Yes, you can do this with Search &amp; Replace Tool (Search across entry as XML). You have to mark Regular expressions.<br></div>Type in the search field: <br>&lt;(Lang1|Lang2)[^&gt;]+?Term=&quot;&quot;[^&gt;]+?&gt;&lt;/(Lang1|Lang2)&gt;<br></div>where Lang1 and Lang2 are languages of your termbase, e.g. (English|German).<br></div>Leave Replace field empty and click Replace all. <br><br>Optionally you can filter all entries with empty nodes (F5), and choose additional option Use filters in S&amp;R (this should make replacement faster)<br>This should work. Remember to backup your work before doing this.<br></div><br></div>Paweł<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-18 21:20 GMT+01:00 Michael Beijer <span dir="ltr">&lt;<a href="mailto:michael@beijer.uk" target="_blank">michael@beijer.uk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Is there any way to automatically delete all empty nodes in an entry? </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">After importing a CSV file, a bunch of empty nodes were added, which messed up the display of my dictionary somewhat. I can delete them all manually (in Tree View: right-click and select &quot;Delete&quot;, or &quot;Delete node only&quot;), but was wondering if there is a way to do it automatically.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I can find (and then tag) all entries with empty nodes via F3 search for: ^$</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Just need to know how I can delete only the empty nodes.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Michael</div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="margin-bottom:0.0001pt;background-image:initial;background-repeat:initial"><span style="font-family:&#39;Courier New&#39;;font-size:x-small">******************************************************<br></span><b style="font-family:&#39;Courier New&#39;;font-size:x-small">MICHAEL BEIJER<br></b><span style="font-family:&#39;Courier New&#39;;font-size:x-small">Dutch-English translator</span><br><font size="1" face="Courier New">Hastings, </font><span style="font-family:&#39;Courier New&#39;;font-size:x-small">UK.<br></span><font size="1" face="Courier New">Tel. +44 (0)1424 </font><span style="font-family:&#39;Courier New&#39;;font-size:x-small">430250<br></span><span style="font-family:&#39;Courier New&#39;;font-size:x-small">Mob. <a href="tel:%2B44%20%280%29747%205771720" value="+447475771720" target="_blank">+44 (0)747 5771720</a><br></span><span style="font-size:x-small;font-family:&#39;Courier New&#39;">Email: </span><font style="font-size:x-small" face="courier new, monospace"><a href="mailto:michael@beijer.uk" target="_blank">michael@beijer.uk</a><br></font><span style="font-family:&#39;Courier New&#39;;font-size:x-small">Skype/Twitter: </span><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_michaelbeijer&amp;d=AwMFaQ&amp;c=-dg2m7zWuuDZ0MUcV7Sdqw&amp;r=ItmfqAWTMB_JGE6gPDIzr-HMYQqD-gooWwP1iBQ5uS8&amp;m=ltkB8JhJySAduZBG6LPLxjUvQHN0Lx1FdeppUf3iR7U&amp;s=PZ58EpriLikRLs7z3PnzyCO3ocCDVBuY65b-tN2p69U&amp;e=" target="_blank">michaelbeijer</a><br><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__beijer.uk_&amp;d=AwMFaQ&amp;c=-dg2m7zWuuDZ0MUcV7Sdqw&amp;r=ItmfqAWTMB_JGE6gPDIzr-HMYQqD-gooWwP1iBQ5uS8&amp;m=ltkB8JhJySAduZBG6LPLxjUvQHN0Lx1FdeppUf3iR7U&amp;s=XrlzQJ1sk0u_jcbTYkXSCBEz2J5_F7w1uHh4hbcVy5A&amp;e=" style="font-size:x-small" target="_blank"><span style="font-family:&#39;Courier New&#39;">Beijer.uk</span></a><span style="font-size:x-small;font-family:&#39;Courier New&#39;"> (translation/terminology
work)</span><br><span style="font-family:&#39;Courier New&#39;;font-size:x-small">******************************************************</span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>

<br>
<b style="font-size:1.3em"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#38761d;background:white">&lt;This email was dictated using Dragon Professional 14. Please excuse any typos!&gt;</span></b><br>_______________________________________________<br>
Tshwanelex-l mailing list<br>
<a href="mailto:Tshwanelex-l@mailman.yale.edu">Tshwanelex-l@mailman.yale.edu</a><br>
<a href="http://mailman.yale.edu/mailman/listinfo/tshwanelex-l" rel="noreferrer" target="_blank">http://mailman.yale.edu/mailman/listinfo/tshwanelex-l</a><br>
<br></blockquote></div><br></div>