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






Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »