Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ed Ed is offline
external usenet poster
 
Posts: 122
Default Help with Wildcard search/replace, please?

I'm trying to find
paragraph, tab, small letter a-z, period, tab
and replace it with
the original paragraph and tab, two more tabs, left parenthesis, the
original letter, right parenthesis, the original tab.

I constructed the following wildcard Find:
(^13^t)([a-z]).(^t)
and Replace With:
\1^t^t[\(]\2[\)]\3

I get the following error:
"The Replace With text contains a group number which is out of range."
I only have three groups in the Find, and \1, \2, and \3 in the Replace
With. Unless perhaps Word is seeing [\(] and [\)] as another group?

Any suggestions, please?
--
Ed
Chief Chef,
Kludge Code Cafe
"Spaghetti Is Our Specialty!"


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wildcard expression? RedRado03 Microsoft Word Help 1 July 5th 06 05:46 PM
Amazing Bug in Search/Replace -- still! Uriel Microsoft Word Help 11 February 17th 06 12:26 AM
Macro for bold text using wildcard Suusje Microsoft Word Help 0 September 26th 05 03:50 PM
wildcard find spanning the text of hyperlink Makhtar Microsoft Word Help 2 April 15th 05 07:28 PM
Replace and retain whatever the wildcard represents HONYAKUKA Microsoft Word Help 2 January 4th 05 04:12 AM


All times are GMT +1. The time now is 11:32 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"