Regexp replacement in Phrase
Thread poster: Andrus Lauringson
Andrus Lauringson
Andrus Lauringson  Identity Verified
Estonia
Local time: 13:34
Member (2022)
Ingiriisi to Estonian
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]


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


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 »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »