Find and Replace: Some New Tricks With This Old Dog
Friday, June 27th, 2008
One of the most time-consuming aspect of editing text is the “clean up”. Double-spaces between sentences, bulleted text with generic asterisks instead of bullets, and extra bits of code that seem to transfer when you copy and paste…
Well, you’ll be happy to know that you can fix many of these problems faster with the good ol’ Find/Replace tool. One secret you don’t often hear about is that you can actually replace a line of text with — nothing! That’s right, you can actually go through and in essence delete all the left over text that you don’t need.
Below are some examples.
Getting Rid of Double Spaces
To get rid of double spaces between sentences:
- Open the Find/Replace tool
- Insert a period with two spaces in the “Find” text box
- Insert a period with one space in the “Replace” text box
- Click “Replace All”
Don’t forget to repeat this with all possible punctuation, e.g. “!”, “?” and even quotation marks.
Getting Rid of “Generic” Bullets
Say that you are rewriting web content for a client. Usually the best way to start is to go to their current website, then copy and paste all the content into a Word document. You’ll notice that any bulleted text won’t transfer correctly. What I normally get is this:
*some bulleted text here
*some more bulleted text
*…
What it amounts to is four or five spaces with an asterisk. The old way of dealing with this is to go through and manually highlight, then delete from each line. But by using Find/Replace you can:
- Enter the number of spaces and the asterisk currently in the document in the “Find” text box (cut and paste for best accuracy)
- Enter nothing in the “Replace” text box
- Click on “Replace All”
Now you will get an unbulleted list, which you can re-bullet in Word.
Adding “Smart” Quotes
Often, especially when transferring from the web to a Word document, you get the generic quotes. You can turn these into “smart” quotes (the nice curly kind) by using Find/Replace:
- Enter a quotation mark in the “Find” text box (doesn’t matter what it looks like)
- Enter a quotation mark in the “Replace” text box (doesn’t matter what it looks like)
- Click on “Replace All”
All quotes will automatically turn into smart quotes. Don’t forget to do this for single quotation marks/apostrophes as well.
Getting Rid of Excessive Code
Sometimes some background code gets displayed in the transfer of text. For example, if you copy and paste text from Word into WordPress incorrectly, you can get bits of code between paragraphs that look like this:

To get rid of this, simply:
- Add the line of code into the “Find” text box
- Add nothing to the “Replace” text box
- Click on “Replace All”
All the extra code will now be gone!
Do you have any of your own shortcuts using Find/Replace or some other feature? Let us know!
~Graham
One of the first rules of writing is to use an active voice. Say “Rick drove the car” rather than “The car was driven by Rick.” Nine times out of 10, this is great advice.
As I would imagine is true for most writers, I’ve always thought of website visitors as readers. Obviously, good design is important, but I’ve always been of the mindset that people come to read the content.
Or “The Medium is Not the Message”
At the beginning of “Contact” (the movie, not the book) there is a brilliant sequence where the camera pulls out from Mother Earth and all the TV and radio waves aurally pull out with it. You hear snippets from the soaps, ’60s shows to finally the first radio recordings. The further from Earth you get, the less chatter there is until finally silence.
Like many freelance writers (I suspect), one of the big draws for me to this game is the fact that I can write about several different topics — it never gets boring. But sometimes it is difficult to get motivated about a certain topic. That client’s widget you need to write about just doesn’t turn your crank.
According to Doris Lessing, writers are in a lose/lose situation.
I’m a very deadline-oriented person. And like many writers, I suspect, I work better under other people’s deadlines. Too often I have put a new project on my to-do list, but because it there is no deadline attached, it usually gets pushed back another day…
I was reading the Boston Globe the other day, and noticed in the “Most Read” column (another great Web 2.0 feature) a listing for “Clemens sex trouble”. Now I’m not really a baseball fan, but that headline is a little hard to resist.