Find & Replace with "]"

  • Thread starter Thread starter Chuck Humphrey
  • Start date Start date
C

Chuck Humphrey

I am trying to add a second period after the following type of entry
in a document: "[1234]." When I use "]." for the find no items are
found, event though there are many such instances in the document.

Suggestions?!
Chuck Humphrey
 
Are you saying that you have a series of numbers in square brackets? In this
case you need a wildcard search for
\[[0-9]{1,}\]
replace with
^&.
(that's ^& followed by a period)

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
That did not work. Why can't I search for "]." and replace it with
"].." ?

Are you saying that you have a series of numbers in square brackets? In this
case you need a wildcard search for
\[[0-9]{1,}\]
replace with
^&.
(that's ^& followed by a period)

Chuck Humphrey
 
You can provided you don't have wildcards enabled.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Chuck Humphrey said:
That did not work. Why can't I search for "]." and replace it with
"].." ?

Are you saying that you have a series of numbers in square brackets? In this
case you need a wildcard search for
\[[0-9]{1,}\]
replace with
^&.
(that's ^& followed by a period)

Chuck Humphrey
 
If Wildcards *are* enabled, the originally posted solution works.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


You can provided you don't have wildcards enabled.


Chuck Humphrey said:
That did not work. Why can't I search for "]." and replace it with
"].." ?

Are you saying that you have a series of numbers in square
brackets? In this case you need a wildcard search for
\[[0-9]{1,}\]
replace with
^&.
(that's ^& followed by a period)

Chuck Humphrey
 
Back
Top