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!

Direct link Reply with quote

Local time: 16:14
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.

Direct link Reply with quote

Regex Mar 31, 2015

Nice! Thanks a lot!

Direct link Reply with quote

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

Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
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 »

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