How to replace plain text tag with nothing using regex in Trados Batch edit function?
Thread poster: translateLT

translateLT  Identity Verified
Lithuania
Local time: 15:05
English to Lithuanian
Aug 30, 2018

I have text with many plaintext tags , where XX is any double digit number. I cant figure out how to delete those using Batch edit function and regex. My guess was to use , but this does not work.

[Edited at 2018-08-30 17:10 GMT]

[Edited at 2018-08-30 17:10 GMT]


 

Samuel Murray  Identity Verified
Netherlands
Local time: 14:05
Member (2006)
English to Afrikaans
+ ...
What OP is trying to say Aug 30, 2018

translateLT wrote:
I have text with many plaintext tags <xx>, where XX is any double digit number. I cant figure out how to delete those using Batch edit function and regex. My guess was to use <..>, but this does not work.


(welcome to the wonderful, bug-free ProZ.com forum software)


 

Boris Kimel  Identity Verified
Russian Federation
Local time: 15:05
English to Russian
+ ...
A tutorial Aug 30, 2018

You should be fine with or

https://medium.com/factory-mind/regex-tutorial-a-simple-cheatsheet-by-examples-649dc1c3f285

[Редактировалось 2018-08-30 15:28 GMT]

P.S. Though your version of <..> works just as fine with my 2014.

[Редактировалось 2018-08-30 15:44 GMT]


translateLT
 

translateLT  Identity Verified
Lithuania
Local time: 15:05
English to Lithuanian
TOPIC STARTER
Did you try Aug 30, 2018

Have you tried batch replacement to empty string using such expression?

[Edited at 2018-08-30 16:24 GMT]


 

Boris Kimel  Identity Verified
Russian Federation
Local time: 15:05
English to Russian
+ ...
Yes, exactly Aug 30, 2018

This was what I did. Just to be sure, we are replacing plaintext, like "lorem<67>ipsum", not the coloured tags, right?

[Редактировалось 2018-08-30 16:44 GMT]


 

translateLT  Identity Verified
Lithuania
Local time: 15:05
English to Lithuanian
TOPIC STARTER
So weird - possibly resolved Aug 30, 2018

That is so weird. I just compiled a short testmem with such tag in order to capture screenvideo with this malfunction, but expression worked just fine. Then I re-opened the converted memory and it also worked like a charm. I think issue lies behind opening a TMX export, quick converting it to SDLTM and trying to edit it at once.

 

Boris Kimel  Identity Verified
Russian Federation
Local time: 15:05
English to Russian
+ ...
A screenshot of what's working Aug 30, 2018

Since I captured and hosted it anyway



[Редактировалось 2018-08-30 17:16 GMT]


 

translateLT  Identity Verified
Lithuania
Local time: 15:05
English to Lithuanian
TOPIC STARTER
Now I really solved it Aug 30, 2018

So I just bragged about getting expression to work, but right after I entered to remove all tags with three numbers – once again 0 units were changed. But completely removing TM from the list and reopening made expression to work too.

p.s.
my expressions do not show in posts as forum treats them as HTML tags

[Edited at 2018-08-30 17:15 GMT]


 

Boris Kimel  Identity Verified
Russian Federation
Local time: 15:05
English to Russian
+ ...
Should work Aug 30, 2018

Boris Kimel wrote:

You should be fine with or

https://medium.com/factory-mind/regex-tutorial-a-simple-cheatsheet-by-examples-649dc1c3f285

[Редактировалось 2018-08-30 15:28 GMT]

P.S. Though your version of works just as fine with my 2014.

[Редактировалось 2018-08-30 15:44 GMT]


translateLT
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

How to replace plain text tag with nothing using regex in Trados Batch edit function?

Advanced search







WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »
SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search