View Single Post
Old 09-10-2008, 11:53 AM   #4
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by texasnightowl View Post
Is there an easy way to do a search for paragraphs that start with a word with no capitalization? Am I overlooking something?
With regular expressions what you are asking to do is extremely easy. However word somehow has chosen to make this very difficult, because they are inconsistent. You'll see what I mean in a few

1) Hit <CTRL>+H to get the find/replace
2) Depress the <MORE> button (if you only see <Less> don't do anything)
3) Check the "Use Wildcards" check box
4) In the Find text box enter w/o quotes "^13([a-z]?)"
//This finds all lower case letters on a new line
//**Here is the inconsistency. New paragraphs are ^p which is not the same as ^13 which is a new line. When using the "Use Wildcards" option the ^p is not supported, so there will be cases where you will not find text using the expression in line 4.
5) In the Replace enter w/o quotes " \1".
// ** Note the space in before \1. This puts a space between the two words else you will have a lot of spelling errors due to word concatenation.
// the \1 inserts the text found in () from step 4. If you had two ()() then you would have \1\2

=X=

Last edited by =X=; 09-10-2008 at 11:55 AM. Reason: edited grammer
=X= is offline   Reply With Quote