Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
scotteh scotteh is offline
external usenet poster
 
Posts: 3
Default Need some Search & Replace help

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

  #2   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Need some Search & Replace help

In the Replace dialog, first click the More button and check the box for
"Use wildcards".

Copy the next line and paste it in the Find What box:

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

Copy/paste the next line in the Replace With box:

\1^t\2^t\3

Click the Replace All button, and you're done.

Explanation: First, read http://www.gmayor.com/replace_using_wildcards.htm.
Then you'll be able to see that the Find What expression means "look for
text that consists of three consecutive groups of two digits each", and the
Replace With expression means "replace with the same three groups separated
by tab characters".

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

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



  #3   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Need some Search & Replace help

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



  #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





  #5   Report Post  
Posted to microsoft.public.word.newusers
Terry Farrell Terry Farrell is offline
external usenet poster
 
Posts: 2,904
Default Need some Search & Replace help

Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham. vbg

Terry

"Doug Robbins - Word MVP" wrote in message
...
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








  #6   Report Post  
Posted to microsoft.public.word.newusers
scotteh scotteh is offline
external usenet poster
 
Posts: 3
Default Need some Search & Replace help

Thanks guys! However... didnt work. I understand what that SHOULD do,
so I pasted it in (didnt even type it, PASTED! so I wouldnt make any
mistakes, tried both even though they seem identical) and hit Find Next
and it said "the search item was not found".

Nothing in the document was highlighted. It just cant find a match! I
even tried just ([0-9]{2}) to see if it would find the first 2 and no
go. Then I put spaces between the first sets. Nothing. Then I added
just the number 23 on a blank line and put the cursor on a line before
it. Still found nothing!

This is Word 2000 SR1 btw.

These are the exact first few lines:

MIX 219902
MIX 222202
MIX 219803
MIX 219802
MIX 219903
MIX 212302
MIX 241103
MIX 255301

I've already put a tab between MIX and the numbers.

Any other ideas?

Scott



Jay Freedman wrote:
In the Replace dialog, first click the More button and check the box for
"Use wildcards".

Copy the next line and paste it in the Find What box:
([0-9]{2})([0-9]{2})([0-9]{2})
Copy/paste the next line in the Replace With box:
\1^t\2^t\3
Click the Replace All button, and you're done.


  #7   Report Post  
Posted to microsoft.public.word.newusers
scotteh scotteh is offline
external usenet poster
 
Posts: 3
Default Need some Search & Replace help


Ahhh crap! Nevermind. I found it. I clicked More and found that "Use
Wildcards" was turned off.

All fixed!

Thanks again guys!! Excellent work!!

Scott



scotteh wrote:
Thanks guys! However... didnt work. I understand what that SHOULD do,
so I pasted it in (didnt even type it, PASTED! so I wouldnt make any
mistakes, tried both even though they seem identical) and hit Find Next
and it said "the search item was not found".


  #8   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Need some Search & Replace help

It was morning in the US and late afternoon in Cyprus. I was just a little
better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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



  #9   Report Post  
Posted to microsoft.public.word.newusers
Terry Farrell Terry Farrell is offline
external usenet poster
 
Posts: 2,904
Default Need some Search & Replace help

That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a little
better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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




  #10   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Need some Search & Replace help

Because of the time Outlook Express takes to update the current group, I had
no way of knowing he had posted - however the rest bit is probably true - I
had been moving a lime tree to a new location and was knackered

--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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





  #11   Report Post  
Posted to microsoft.public.word.newusers
Terry Farrell Terry Farrell is offline
external usenet poster
 
Posts: 2,904
Default Need some Search & Replace help

I bet! The delay in updating is down to the servers at MS. Depending on time
of day (probably related to traffic density at the time), it may take up to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current group, I
had no way of knowing he had posted - however the rest bit is probably
true - I had been moving a lime tree to a new location and was knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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




  #12   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Need some Search & Replace help

I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending on

time
of day (probably related to traffic density at the time), it may take up

to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current group, I
had no way of knowing he had posted - however the rest bit is probably
true - I had been moving a lime tree to a new location and was knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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





  #13   Report Post  
Posted to microsoft.public.word.newusers
Terry Farrell Terry Farrell is offline
external usenet poster
 
Posts: 2,904
Default Need some Search & Replace help

Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending on

time
of day (probably related to traffic density at the time), it may take up

to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current group,
I
had no way of knowing he had posted - however the rest bit is probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in message
...
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





  #14   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Need some Search & Replace help

Well, a minute would be "immediately" enough for me. I rarely come back to
the same NG right away, but when I do return, my posts are always there.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Terry Farrell" wrote in message
...
Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending on

time
of day (probably related to traffic density at the time), it may take

up
to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current

group,
I
had no way of knowing he had posted - however the rest bit is

probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before

Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in

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






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

That's hardly "immediately". To me immediately would mean "without
refreshing the newsgroup", which you are doing by exiting from the newsgroup
and then returning.

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

"Suzanne S. Barnhill" wrote in message
...
Well, a minute would be "immediately" enough for me. I rarely come back to
the same NG right away, but when I do return, my posts are always there.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me
baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending
on
time
of day (probably related to traffic density at the time), it may take

up
to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current

group,
I
had no way of knowing he had posted - however the rest bit is

probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just
a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before

Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in

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










  #16   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Need some Search & Replace help

Well, given my current setup, I don't see *any* new headers (my own or
anyone else's) till I refresh the newsgroup. I just meant that as soon as I
send the post, I can go to the NG and it's there (in much the same way that
I can send an email to myself and receive it immediately by clicking Send
and Receive again).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Doug Robbins - Word MVP" wrote in message
...
That's hardly "immediately". To me immediately would mean "without
refreshing the newsgroup", which you are doing by exiting from the

newsgroup
and then returning.

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

"Suzanne S. Barnhill" wrote in message
...
Well, a minute would be "immediately" enough for me. I rarely come back

to
the same NG right away, but when I do return, my posts are always there.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me
baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending
on
time
of day (probably related to traffic density at the time), it may

take
up
to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current

group,
I
had no way of knowing he had posted - however the rest bit is

probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was

just
a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before

Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in

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









  #17   Report Post  
Posted to microsoft.public.word.newusers
Aalaan Aalaan is offline
external usenet poster
 
Posts: 88
Default Need some Search & Replace help

and mine *always* contain some stupid self-inflicted error...

"Suzanne S. Barnhill" wrote in message
...
Well, a minute would be "immediately" enough for me. I rarely come back to
the same NG right away, but when I do return, my posts are always there.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me
baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending
on
time
of day (probably related to traffic density at the time), it may take

up
to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current

group,
I
had no way of knowing he had posted - however the rest bit is

probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was just
a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before

Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in

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








  #18   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Need some Search & Replace help

Yeah, I don't ordinarily read my own posts, but when I see them quoted in a
reply, I often wince.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Aalaan" wrote in message
...
and mine *always* contain some stupid self-inflicted error...

"Suzanne S. Barnhill" wrote in message
...
Well, a minute would be "immediately" enough for me. I rarely come back

to
the same NG right away, but when I do return, my posts are always there.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
Really! That's interesting. I have never seen my posts until at least a
minute later and often anything up to 20 minutes later. I'm connected
directly to the MS Newsgroup server, of course, but that leaves me
baffled
as to why it is slow over here then.

Terry

"Suzanne S. Barnhill" wrote in message
...
I always see my own posts immediately after sending.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"Terry Farrell" wrote in message
...
I bet! The delay in updating is down to the servers at MS. Depending
on
time
of day (probably related to traffic density at the time), it may

take
up
to
20 mins before you see someone's post.

Terry

"Graham Mayor" wrote in message
...
Because of the time Outlook Express takes to update the current

group,
I
had no way of knowing he had posted - however the rest bit is

probably
true - I had been moving a lime tree to a new location and was
knackered


--

Graham Mayor - Word MVP

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


Terry Farrell wrote:
That probably explains it then.

Terry

"Jay Freedman" wrote in message
...
It was morning in the US and late afternoon in Cyprus. I was

just
a
little better rested. g

Jay

Terry Farrell wrote:
Doug

Strictly speaking, Jay hit the send button 48 seconds before

Graham.
vbg
Terry

"Doug Robbins - Word MVP" wrote in

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









Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search and replace with a numbered reference a_nokes Microsoft Word Help 8 May 5th 06 03:41 AM
Pasting into a search and replace Ben K. Bullock New Users 6 March 6th 06 05:50 AM
Search and Replace not working if I select a Format for Heading St Sherrie Deen Microsoft Word Help 0 April 27th 05 08:53 PM
search and replace symbol characters Patricia G. Kurz Microsoft Word Help 1 December 29th 04 03:11 AM
search and replace symbols pattyjo Microsoft Word Help 2 December 29th 04 03:10 AM


All times are GMT +1. The time now is 07:36 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"