AutoText / Variables --- wildcards / regular expressions / ?
Thread poster: Florian Betz

Florian Betz
Local time: 14:02
English to German
+ ...
Aug 31, 2014

I've been working on a big-ish project that has the same type of 'code' appearing over and over again and Studio (2011) wants me to type it in manually every time. I'm looking for a way to make my life easier here, because the codes are all pretty similarly constructed: it's something like "NAME6.000.1234" with only the underlined part changing every time.

I've tried adding "NAME6.000." to the AutoText feature, but
a) I still have to type NAME (the first 4 characters) before that is triggered, saving me relatively little time (why is it 4? entries from the Termbase trigger after 2 characters..), and
b) of course that still leaves me to type in the variable part at the end (the numbers that I was hoping to avoid in the first place).

So, after some more research I found the Variables list, which as far as I can tell, doesn't help me either, because it apparently only works when the whole variable can be matched, so adding "NAME6.000." will simply not match anything in my source text, thus not giving me any placeables to work with.

So I was wondering if there was any way of getting the variable list (or AutoText for that matter) to accept wildcards or even regular expressions.
Or maybe there's some other way of getting Studio to accept codes that aren't entirely numbers as placeables, or make them easier to handle somehow? I mean, I suppose I could edit the entire source text

I've found something called TermInjector - but I can't test it right now, because the site won't let me login at the moment ( ).


Bernard Lieber  Identity Verified
Local time: 14:02
English to French
+ ...
Terminjector... Aug 31, 2014

is the right way to go - I've got it and will forward it to you, just drop me a e-mail you can try it - this is a replacement rule works like a charm:

([A-Z]+)([0\.-9]+)\.([0-9]+) \1\2.\3 = save as UTF8




Florian Betz
Local time: 14:02
English to German
+ ...
Thank you Sep 1, 2014

That was kind of you to offer, Bernard, but yesterday's login problem is resolved now and I was able to download Terminjector from the App Store.
Will report back once I've had time to try it out.

//edit: works like a charm!

I made my own rule:
(.+)NAME([0-9])\.([0-9][0-9][0-9])\.([0-9][0-9][0-9][0-9])(.+) NAME\2.\3.\4

[Edited at 2014-09-01 11:35 GMT]


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

AutoText / Variables --- wildcards / regular expressions / ?

Advanced search

SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search