
Word: Change the spaces after a period
January 23, 2009Here was my problem as I described it to the Microsoft Office Discussion Group:
I have a long document that several authors have worked on. Some use two spaces after the period, some one. The corporate style is two (not my decision!), so I’m trying to figure out an easy way of finding ALL instances of only one space after a period and replacing it with two spaces. Sounds easy? Nope.
Problem is that each sentence following the space starts with a different letter. I want to be able to find “.<space>[A-Z]” and replace with “.<space><space>[A-Z]” where [A-Z] is any capital letter. The original letter must be replaced with itself.
I can do this one letter at a time (e.g. “.<space>A” replace with “.<space><space>A” but as I know there will be many documents like this, I’d like to know if there’s a simple way to automate the process, either using wildcards, special characters, or a macro.
Oh, and adding a minor complication to this — I don’t want to do a ‘Replace All’ as some legitimate periods are followed correctly by a single space (for example, in the list of References, or after “i.e.” or “e.g.”).
Does anyone have any idea as to how I can achieve this? I’m happy to click Replace for each instance found, but I really don’t want to set up 26 different find/replace sequences to hit all letters of the alphabet.
Within two hours I had two responses, both of which offered a different method to achieve what I wanted. I tested them and both solutions work well.
Brian’s solution
Try Find ‘period space space’ and replace with ‘period space’ to get them all the same, then find ‘period space’ and replace with ‘period space space’.
You can then search on ‘i.spacespace e.space space’ and replace with ‘i.e.space’. Do the same for e.g.
Graham’s solution
With the wildcard option set Find what to (.) ([A-Z]) and Replace with \1 \2
(NOTE: There are TWO spaces between \1 and \2.)
Update 18 February 2009: I have now used Graham’s solution many times over — and it has saved me hours of work. It’s a winner!
Update 31 July 2009: Seems the latest APA Publication Manual is now recommending two spaces after a period, even in HTML pages (which will require the use of the non-breaking space [ ]). Some details here: http://spacewaste.wordpress.com/
| Has this tip helped you? saved you time? saved your skin? You can thank me by clicking on the cup and buying me a coffee. (An E-Junkie shopping cart page will open where you can pay for my coffee via PayPal.) |


OMG, you are genius who just saved me from throwing away my laptap (I was close) I automatically type two spaces, but APA format calls for one. Thank you thank you!!
Glad it helped! But I’m not the genius — the two people who posted the answer on the Microsoft Word forum are. Brian’s solution I already knew but it may require several passes over the document to pick up all instances; Graham’s solution just works like a charm for me!
I could not get this to work in my Word 2003.
I can’t help typing with two spaces and need a solution before I pass on my documents.
Hi Jodie
Graham’s solution works every time for me in Word 2003, but you MUST have the Use Wildcards check box turned on otherwise it will look for the actual text you typed in (click the More button to see the Use Wilcards check box). You must also make sure there are TWO spaces between the ‘1′ and the following ‘\’ in the Replace with line. You can copy the text for the find and replace parts from this blog post if you’re not 100% sure you’ll get it right.
And did you know that you can set Word to replace all your two spaces with one — as you type? This means that for future documents you shouldn’t have to use this workaround. You can set the ‘replace two spaces with one’ option in Word 2003 under Tools > Options > Spelling and Grammar tab > Settings button, then set the Spaces required between sentences to ‘1′. For all typing you do after you change this setting, Word will replace your two spaces with one. It won’t break your habit, but it means you don’t have to worry about it again.
[...] http://cybertext.wordpress.com/2009/01/23/word-change-the-spaces-after-a-period/ [...]
Speaking of switching from 2 spaces to 1, be aware that APA has now reverted back to 2 spaces at the end of sentences in it’s new 6th edition of their publication manual. See http://spacewaste.wordpress.com/ for more info on this.
Thanks Dan. The spacewaste people linked to this blog post a couple of weeks ago and I updated this post on July 31 to mention that new APA ‘rule’. I also tweeted about it — there was a bit of retweeting in the technical writing community, with most disagreeing with the decision. But then, many tech writers don’t use APA as their style guide, so it really doesn’t affect them too much.
Also, the APA recommendation of two spaces appears to be for manuscripts only.
Does this work with Windows Vista? I’ve been trying for a while and it’s not taking at all. Help! I’m editing a book and this will make my job so much easier if I can figure it out!
HI Audrey
I just checked Graham’s solution in Word 2007 on a Vista Ultimate 64-bit system, and it worked fine. As I mentioned in an earlier comment to Jodie, make sure the Use Wildcards option is turned on and make sure you put TWO spaces between the \1 and \2 bits in the replace field.
Hi,
Just a small note: Graham’s solution is used change the number of spaces after the period from 1 to 2. If you need to do the opposite (replace 2 spaces with only 1 after the period, use the following wildcards: in the Find what: (.) ([A-Z]); and in the Replace with: \1 \2.
Thank you for this post. This will help me to “convert” documents for school to the new 2-space APA format. It amazes me that although we have taught for 20 years to space once after a sentence, professional writers and publishers space once AND we made the transition from a typewriter’s monospacing to the proportionate text of a word processor, that such a change would be proposed. So, now we single space for the internet and HTML code (recognizes only one space) and perhaps informal documents and double space on formal documents. Hmm.
hi, a question.. for the reference list between intials between authors is one space but when i do the wildcard for the spacing two after every period how do i set it up for that one without ruining the two space for the new apa 6th edition.
Why not just select the area you want to apply the change to?