Regexp replacement in Phrase
Objavljivač niti: Andrus Lauringson
Andrus Lauringson
Andrus Lauringson  Identity Verified
Estonija
Local time: 02:24
Član (2022)
engleski na estonski
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]


 


Za ovaj forum nije određen nijedan moderator.
Da biste prijavili kršenje pravila sajta ili zatražili pomoć, obratite se osoblju sajta ».


Regexp replacement in Phrase






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 »
Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »