Regexp replacement in Phrase
Thread poster: Andrus Lauringson
Andrus Lauringson
Andrus Lauringson  Identity Verified
Estonia
Local time: 23:14
Member (2022)
English 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






CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »
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 »