Delete character
Thread poster: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 04:48
Member (2008)
English to Italian
+ ...
Feb 10, 2019

I need a character to use in find-and-replace in MS Word that deletes the character that comes next (as well as disappearing itself). Example:


Original string: "Text to be dis#zplayed"

Find what: #
Replace with: [This is what I am looking for!]

Final string: "Text to be displayed"

Any ideas? (Don't ask me why I need it)


 
Tony M
Tony M
France
Local time: 04:48
French to English
+ ...
SITE LOCALIZER
Can you use a wild card? Feb 10, 2019

I'd have thought you'd simply use #* and check the 'use wildcards' box, then leave the 'replace with field' empty

Would that not work? I haven't got time to try it right now...


 
Jan Truper
Jan Truper  Identity Verified
Germany
Local time: 04:48
English to German
... Feb 10, 2019

If I understand you correctly, try this:

Find what: #^$
Replace with:

(i.e., leave the "Replace with" field empty, but hit the Replace/Replace All button nonetheless)


 
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 04:48
Member (2008)
English to Italian
+ ...
TOPIC STARTER
Dumb me Feb 10, 2019

Jan Truper wrote:

Find what: #^$
Replace with:



Doh, it's so simple. How couldn't I figure it out?!

#^? works with any character, #^$ with letters only (which incidentally is my case).

Tony, your option works as #? with wildcards - except that I need to use something other than # or other special characters.

[Edited at 2019-02-10 15:28 GMT]


 


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

Moderator(s) of this forum
Laureana Pavon[Call to this topic]

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

Delete character






TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »