View Single Post
Old 09-10-2008, 03:05 PM   #5
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Quote:
Originally Posted by =X= View Post
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=
Thanks so much! I'll play with these strings tonight or tomorrow.
texasnightowl is offline   Reply With Quote