How to verify numbers using Advanced Display Filter and/or QAchecker?

First of all, I'm aware that Trados Number Verifier and Xbench may work to a certain extent, for numbers, sure, but for alphanumerics (with underlines), not the best. 

However I wanted to know how to perform number verifying or even alphanumerics verifying by using Regular Expression with Advanced Display Filter and/or QAchecker?

Trados Studio interface showing a translation project with four segments. The Advanced Display Filter panel is open with a regular expression entered in the source field.

Trados Studio QA Checker 3.0 settings window with 'Regular Expressions' selected. A 'numberverify' expression is set for source and target with a condition to report if source matches but not the target.

Cannot find the character to describe NOT group 1. Hopefully someone can help!



Generated Image Alt-Text
[edited by: Trados AI at 10:45 AM (GMT 0) on 29 Feb 2024]
emoji
  •  

    Did you try activating these boxes?

    Screenshot showig the checkboxes to specify you are using regular expressions, and also that you wish to use back references.

    You need to tell the display filter you are using a regular expressions and also if you wish to use a backreference.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • ,

    These regex rules in the QA will report wrong alphanumeric expressions in Target.

    Trados Studio Regular Expressions window showing a description 'alphanumerics different' with RegEx Source and RegEx Target fields filled with specific alphanumeric rules and a condition set to report if source and target matches.

    • In Source field: \b([A-Z_]+\d+)\b
    • In Target filed: \b(?!$1)\b (this is a negative lookahead)

    BTW. alphanumeric are strings starting with one or several uppercase Latin letters followed by one or several digits. If you need something different, you can adjust regexes accordingly.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 10:45 AM (GMT 0) on 29 Feb 2024]