View Full Version : .rtf - a way to find broken sentences?


plumtoad
05-19-2011, 06:56 PM
I really like using .rtf for .pdf conversion clean up. Using the Find function, I can fix just about anything... it's because I can use the tab space in the find box, which lets me find any sentence that begins with lowercase letters, etc. Or to search for lines that should be split, that aren't...

What I can't figure out how to do is find a split sentence, that shouldn't be split... such as:

Line 1: "Am I making in sense in my question?
Line 2: Or does it sound like I'm just rambling?"

The correct form should be:

Line 1: "Am I making in sense in my question? Or does it sound like I'm just rambling?"

No line 2.

So I guess I would like a way to search a sentence to find a begining quote mark, but not an ending quote mark. But an idea that doesn't require reading the document to find the faults :)

Any ideas?

Thanks!

Faster
06-04-2011, 06:08 PM
Assuming you're using Word...

If document has curly quotes.

Find: (^13“[!”]@)^13
Repl: \1 note space after \1


If document has straight quotes.

Find: (^13"[!"]@)^13
Repl: \1 note space after \1


OR

This will only work for curly quotes.
Find: (“[!^13”]@)^13([!”]@”)
Repl: \1 \2 Space between \1 and \2


For straight quotes replace the curly quotes with straight quotes.

DSpider
06-05-2011, 05:08 AM
They're called line breaks. Google it and you'll easily find how to remove them:

http://www.google.com/search?&q=word+line+breaks


Or you could remove them manually by pressing the hidden characters button, select them and hit the Backspace/Delete key:

http://www.washburnlaw.edu/technology/ssi-css/graphics/howto/office2007/hidden.jpg

http://www.betalogue.com/images/uploads/mswordx/Word2004-SmartCutAndPasteAndLineBreaks2.gif

Doitsu
07-05-2011, 07:09 AM
Download AutoUnbreak (http://download.cnet.com/AutoUnbreak/3000-2079_4-10504899.html?tag=rb_content;main) it's perfect for RTF files and it's freeware.