Find & Replace with "]"

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
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
C

Chuck Humphrey

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
 
S

Suzanne S. Barnhill

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
 
G

Graham Mayor

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

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


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


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top