Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ed Ed is offline
external usenet poster
 
Posts: 122
Default Wildcard search help. please?

*sigh* One of these days I'll get it! .. maybe ..

I have a list with items indented with two tabs, sequential numbers in
parentheses, and a tab (manually inserted, not autogenerated). With "Use
Wildcards" checked, I'm trying to Find
^t^t^40[0-9]{1,2}^41^t
and it says "Search item not found".

What do I have wrong?

Ed
PS - Word XP


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Wildcard search help. please?

Even though you used the "^" codes for the parentheses, they still have to
be escaped with a backslash so they won't be interpreted as special
characters. So you might as well just use escaped parentheses instead of the
codes:

^t^t\([0-9]{1,2}\)^t

Graham mentions this in the third-to-last paragraph on
http://www.gmayor.com/replace_using_wildcards.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Ed wrote:
*sigh* One of these days I'll get it! .. maybe ..

I have a list with items indented with two tabs, sequential numbers in
parentheses, and a tab (manually inserted, not autogenerated). With
"Use Wildcards" checked, I'm trying to Find
^t^t^40[0-9]{1,2}^41^t
and it says "Search item not found".

What do I have wrong?

Ed
PS - Word XP



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Ed Ed is offline
external usenet poster
 
Posts: 122
Default Wildcard search help. please?

Thanks for the reply, Jay. Actually, as I was preparing a reply to tell you
that it didn't work, I found my error - I had a space at the beginning of
the search string! Such a small thing to make me want to kill my computer
.....

Thanks for the boost.
Ed

"Jay Freedman" wrote in message
...
Even though you used the "^" codes for the parentheses, they still have to
be escaped with a backslash so they won't be interpreted as special
characters. So you might as well just use escaped parentheses instead of
the codes:

^t^t\([0-9]{1,2}\)^t

Graham mentions this in the third-to-last paragraph on
http://www.gmayor.com/replace_using_wildcards.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.

Ed wrote:
*sigh* One of these days I'll get it! .. maybe ..

I have a list with items indented with two tabs, sequential numbers in
parentheses, and a tab (manually inserted, not autogenerated). With
"Use Wildcards" checked, I'm trying to Find
^t^t^40[0-9]{1,2}^41^t
and it says "Search item not found".

What do I have wrong?

Ed
PS - Word XP





Reply
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
The search "Find Next" with "wildcards" does not function properly Philos Microsoft Word Help 4 September 10th 06 06:43 AM
Wildcard search finds okay, but replaces wrong?? Ed Microsoft Word Help 7 August 1st 06 03:31 PM
Help with wildcard search, please? Ed New Users 8 July 28th 06 11:18 AM
File Search using the asterisk (*) wildcard Kokomojo Microsoft Word Help 1 January 25th 06 05:08 AM
File Search Preview Pane ndolinger Microsoft Word Help 0 August 10th 05 09:34 PM


All times are GMT +1. The time now is 11:08 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"