Delete character
Thread poster: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 06:02
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: 06:02
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: 06:02
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: 06:02
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






Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »
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! »