Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
*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
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 | |
|
|
![]() |
||||
Thread | Forum | |||
The search "Find Next" with "wildcards" does not function properly | Microsoft Word Help | |||
Wildcard search finds okay, but replaces wrong?? | Microsoft Word Help | |||
Help with wildcard search, please? | New Users | |||
File Search using the asterisk (*) wildcard | Microsoft Word Help | |||
File Search Preview Pane | Microsoft Word Help |