Hi everyone,
I have a file where the source contains 2 types of important placeholders:
- {Platform}|platform(XXXX, XXXX, XXXX)
Example: {Platform}|platform(controller, controller, mouse/keyboard)
- {Gender}|gender(“XXXX”, “XXXX”)
Example: {Gender}|gender(“boy”, “girl”)
I need a check to make sure that these placeholders maintain the same structure in the target, where only XXX would differ.
Can you help me?
omartin
2
Try the following searches:
- Platform placeholder:
Source: "(\{Platform\}\|platform)=1\([^,]+, [^,]+, .+\)"
Target: -"@1\([^,]+, [^,]+, .+\)"
Search mode: Regular Expressions
PowerSearch: On
- Gender placeholder:
Source: "(\{Gender\}\|gender)=1\(""[^""]+"", ""[^""]+""\)"
Target: -"@1\(""[^""]+"", ""[^""]+"" \)"
Search mode: Regular Expressions
PowerSearch: On
Hi omartin,
the platform one worked, thanks a lot!
For the gender one, I get the error:
omartin
4
Try the above fixed search.