Delete character
Iniziatore argomento: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Italia
Local time: 20:10
Membro (2008)
Da Inglese a Italiano
+ ...
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
Francia
Local time: 20:10
Membro
Da Francese a Inglese
+ ...
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
Germania
Local time: 20:10
Da Inglese a Tedesco
... 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
Italia
Local time: 20:10
Membro (2008)
Da Inglese a Italiano
+ ...
AVVIO ARGOMENTO
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:

Moderatore(i) di questo Forum
Laureana Pavon[Call to this topic]

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

Delete character






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 »
Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »