It seems I allowed a space to creep into the search string in the
square brackets

Try
Section [0-9.a-z\(\)]{1,}
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Nanapat wrote:
Graham, thank you for your response. I tried your formula but it
underlines "Section x.x.x" plus several words after that. If you
think I should try something else, I'd be grateful for any advice.
THis really has me stumped!
:
The wildcard character * is far too broad a brush to deal with this
issue. Try searching instead for
Section [0-9.a-z \(\)]{1,}
replace with ^&
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Nanapat wrote:
Okay, here's what I came up with using wildcards:
Find: Section <*>[!.]
Replace with: ^& ("underline" turned on)
This finds and underlines "Section" plus the characters that
follow (e.g., Section 4.2.1) up to the next space. The problem
is, the space after the "4.2.1" is also being underlined. I have
tried but cannot figure out how to avoid this. Thank you for any
help!
:
You can. You just need to figure out how to use the wildcards.
See
http://www.gmayor.com/replace_using_wildcards.htm
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
I'm so sorry my question wasn't clear. The Sections and
numbers I need underlined are not headings or any auto numbered
style. They are within body
text paragraphs (e.g., "please see Section 1.4.2"). I thought
maybe I could
use search/replace w/ wildcards and underline all mentions of
"Section xxx"
throughout the document, but I"m not sure how to go about it.
Thanks!
:
I need to underline all mentions of Sections and their numbers
globally throughout my document (e.g., Section 1, Section 1.2,
Section 4.2.1(a), etc.). How can I do this?