View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Help with wildcard Replace syntax, please?

You must enter into the Replace box exactly what it is that you want to be
used as the replacement

Though, you could have used

([ ]{4}) [0-9]{2}

in the Find what control and then

\1\1 a

in the Replace with control

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Ed from AZ" wrote in message
...
I tried a wildcard Find/Replace:
-- Find: 5 spaces, any combination of 2 numbers, a period
( {5,})[0-9]{2,}.
-- Replace: 9 spaces, then "a."
( {9})a.

Find worked. Replace gave me: " {9}a."

I gave up trying to code it and just typed 9 spaces! 8/
Is there something special I needed to do in the Replace box?

Ed