Skip to main content
Known Participant
October 25, 2023
Question

Find and delete all numbers in a document

  • October 25, 2023
  • 1 reply
  • 1503 views

Want to delete all numbers in a document.

I have tried the find function, 

but I want all the numbers deleted and the body of the text moved to where the white space of the deleted number is.

 

When i use the find function, and replace with Em white space, it finds and deletes all numbers, but the text is no longer alighned because there is unwanted white space to the left of the text (where the number was).

 

How do i delete all numbers and shift the text to the left so it remains perfectly alighned?

 

 

1 reply

Peter Spier
Community Expert
October 25, 2023

Find numbers and replace with nothing... No whitespace will be created and your text will move left.

James Gifford—NitroPress
Brainiac
October 25, 2023

And if you really mean every digit, you can use the GREP wildcard \d to represent all digits from 0 to 9. Use that for search, and an empty 'replace' string as Peter notes, and all the numbers will vanish instantly. 🙂