Delete character
Thread poster: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 03:17
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: 03:17
Member
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: 03:17
Member (2016)
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: 03:17
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






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! »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »