Finding and replacing leading spaces

A

andreas

Dear Experts:

Is the following possible with the built-in search and replace
dialog?

Find redundant leading spaces in paragraphs and replace them with
nothing

Help is much appreciated. Thank you very much in advance. Regards,
Andreas
 
D

Doug Robbins - Word MVP

Click on the More button and then check the Use wildcards item and put

^13[ ]{1,}

in the Find what control (note that there is a space between the [ and the ]

and with

^p

in the Replace with control.

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.
 
A

andreas

Click on the More button and then check the Use wildcards item and put

^13[ ]{1,}

in the Find what control (note that there is a space between the [ and the ]

and with

^p

in the Replace with control.

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my serviceson
a paid professional basis.




Dear Experts:
Is the following possible with the built-in search and replace
dialog?
Find redundant leading spaces in paragraphs and replace them with
nothing
Help is much appreciated.  Thank you very much in advance. Regards,
Andreas- Hide quoted text -

- Show quoted text -

Hi Doug,

great. Excactly what I was looking for. Thank you very much for your
swift help. Regards, Andreas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top