View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Need some Search & Replace help

Dead heat!

--
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

"Graham Mayor" wrote in message
...
A wildcard search for

([0-9]{2})([0-9]{2})([0-9]{2})
replace with
\1^t\2^t\3
should do the trick

See http://www.gmayor.com/replace_using_wildcards.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


scotteh wrote:
HI all. I need to do an unusual search and replace and need some help.
Hopefully this is fairly basic for most people.

I have strings of numbers, cd-track-index all grouped together and I
want to seperate them with tabs. So the list looks like this:

231001
241002
253401
271501

They need to end up like this:

23 10 01
24 10 02
25 34 01
27 15 01

except with tabs instead of spaces. So I need to search for any 2
digits, then replace them with the SAME 2 digits + a tab character.

Any ideas?

Thanks!!

Scott