Regexp replacement in Phrase
Téma indítója: Andrus Lauringson
Andrus Lauringson
Andrus Lauringson  Identity Verified
Észtország
Local time: 03:15
Tag (2022 óta)
angol - észt
Sep 27, 2024

Hello!

I have a regexp that works great in Trados for changing for example "a", "b" and "c" to „a“, „b“ and „c“:

Search: "(.*?)"
Replace: „$1“

But when I use it in Phrase, it does find "a", "b" and "c", but replaces them with „($1)“, „($1)“ and „($1)“.
Am I doing something wrong or is this kind of replacement not possible in Phrase?

Found the solution:
Replace: „\1“

[Edited at 2024-09-27 15:59 GMT]


 


Ehhez a fórumhoz nincs külön moderátor kijelölve.
Ha a webhely szabályainak megsértését kívánja jelenteni, vagy segítségre van szüksége, lépjen kapcsolatba a webhely munkatársaival ».


Regexp replacement in Phrase






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »