What is the correct Regex syntax to find an "empty string" (i.e. empty field) in Multiterm?

Former Member
Former Member
  1. I have added a new field ('Source') to one of my Termbases by editing the definition (within Multiterm). I've been trying to no avail to populate this new field with the same value across the whole Termbase. I believe it should be very simple to replace an empty field with some content using search and replace, but I wish someone give me a hand here.
  2. For this, I went to "Batch edit Script" and tried, many times, different forms of syntax for the Regex pattern. The only syntax that seems to be working is ^(.*)$ although I tried ^(s*)$ as well.
  3. BUT since I had four entries already edited manually, the script went through the whole Termbase and at the end it said "4 entries edited". Then I realized that the script did nothing.
  4. Next thing I did was to delete the manual entries, thinking that my newly created field had to be completely empty throughout, but the script did nothing at all again.

In other words, I have accomplished nothing after spending an inordinate amount of time. Any help is really appreciated. Thanks.

Parents Reply
  • Hello and ,

    I came across this Q&A because I'm trying to do the same thing as the original poster: use Batch Edit to add a value to an empty field in my TB. As far as I can tell, this is still not possible (the original post is from Feb 2017, so I thought it worth checking!)

    In my case, I only want to add my new field to entries created after a certain date. I was able to create a filter for this purpose and then select this filter in the Batch Edit window, but like the previous poster, I then got stuck at the 'find empty fields' stage.

    Re. your suggestion to use Glossary Converter, I can see how this would work, but the Excel file generated by Glossary Converter doesn't seem to contain the default MultiTerm fields such as "Created on" that would allow me to identify the terms I want to edit. Is this a setting that can be changed?

    Thanks!
    Hayley
Children
No Data