Regex for missing tabs in target

Hi,

I am trying to create a rule to check for missing tabs in the target text.
For instance, I would like to find segments where there are three tabs in a row in source, but only two in target.

I found out that I can find tabs with [:control:], but I have no idea how to create a rule that would compare the number of tabs between source and target.

I am fairly new to Xbench and Regex, so thank you in advance for your help!

Instead of [:control:], use \x09 to search for tabs, which stands for the hexadecimal value. To find segments that contain a tab in source but not in target, use the following search:

Source: \x09
Target: -\x09
Seach mode: Regular Expressions
PowerSearch: on.

To search for segments with 2 tabs in target but some is missing in target, use the following one:

Source: ^[^\x09]*\x09^[^\x09]*\x09
Target: -^[^\x09]*\x09^[^\x09]*\x09
Seach mode: Regular Expressions
PowerSearch: on.

Thank you for your help, it worked!