ApSIC Xbench Forum

Strings starting with $ and included within $$


#1

Hello everyone. I need to create 2 checks:

  • Strings starting with $ should be kept in EN (like $RepositoryVersion)
  • Text included within should be kept in EN (like RepositoryVersion)

Can you please help me?


#2

Hi,

If you are searching for segments that start with $, use the following search:

Source: "^(\$.+)=1$"
Target: -"^@1$"
Powersearch and Regex.

However, if you want to find just strings that contain words that start with and included within , and do not contain spaces in between, use this search:

Source: "(<\$[^[:space:]]+\$?>)=1"
Target: -"<@1>"

Regards,
Oscar.