Regular Expressions
Thread poster: Val1

Mar 31, 2015

Hey guys,

if I want to QA check some abbreviations, for example that for "DE" (for Germany) there is also "DE" in the translation, how would you do that?

I have so far:

Source: \bDE\b
Target: \bDE\b
Condition: Report if source matches but not target
Ignore case unticked.

But I presume this will be problematic? For example, it will report an error if there e.g. "DECIDE" in original, and there is no "DE" letter combination in the translation? How do I have it check "DE" only if it is a word in itself? That can be followed/preceeded by interpunction/spaces or stand on its own, but not by letters or numbers for instance.

Thanks a lot!


Local time: 21:09
English to Hungarian
+ ...
\b Mar 31, 2015

You have already done that with the \b. That stands for "word boundary". \bDE\b will match " DE." or "-DE-" but it will not match DECISION. It will probably not match "2DE3" either, but you can probably live with that.


Regex Mar 31, 2015

Nice! Thanks a lot!


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

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

Regular Expressions

Advanced search

SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »

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