Find and then Replace with formatting

Hi

In Trados Studio editor, I need to find a text or some instances (say matching my regex in 'Find what': ([\p{IsCyrillic}])

and replace them with the same instance (or using $1 regex) in the 'Replace with' field, but make the instance bold.


Please advise my Replace with regex for this case.

Trados Studio Find and Replace dialog box with regex '(pIsCyrillic)' in 'Find what' field and '$1' in 'Replace with' field, showing an error icon next to it.

In general, are the options to apply text formatting in the 'Replace with'?  using tags? or ...

It would be a real miracle to have a simple approach just like in MS Word
Trados Studio Find and Replace dialog box in Russian, with empty 'Find what' field and 'Replace with' field set to bold format.



Generated Image Alt-Text
[edited by: Trados AI at 12:04 PM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •  

    This is not Word... it's a tool to handle the translation of DOCX, XLSX, PPTX, XML, HTML, IDML, MIF, RESX, etc. etc.

    But I agree that a neat solution would be to do a search & Replace of tags since this is essentially what we are dealing with.  What they do is completely irrelevant and sometimes inappropriate when people think of them as formatting tags.  I suggest you raise an enhancement request for it in the ideas site.

    In the meantime you could try using a tool like Cleanup Tags which could be used to do a batch search & replace of words with surrounding tags, and you could make the tags match the formatting style of the file you were translating.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
Reply
  •  

    This is not Word... it's a tool to handle the translation of DOCX, XLSX, PPTX, XML, HTML, IDML, MIF, RESX, etc. etc.

    But I agree that a neat solution would be to do a search & Replace of tags since this is essentially what we are dealing with.  What they do is completely irrelevant and sometimes inappropriate when people think of them as formatting tags.  I suggest you raise an enhancement request for it in the ideas site.

    In the meantime you could try using a tool like Cleanup Tags which could be used to do a batch search & replace of words with surrounding tags, and you could make the tags match the formatting style of the file you were translating.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
Children