https://som.proz.com/forum/phrase_formerly_memsource_support/369685-regexp_replacement_in_phrase.html

Regexp replacement in Phrase
Thread poster: Andrus Lauringson
Andrus Lauringson
Andrus Lauringson  Identity Verified
Estonia
Local time: 22:30
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






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 »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »