A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Converet plain text to table



 
 
Thread Tools Display Modes
  #11  
Old March 8th, 2008, 09:11 PM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table


That expression works in my copy of Word 2007, and it should work in yours. If
you can't make it work, then try surrounding the space character (but not the
{2,}) in square brackets:

[ ]{2,}


It definitely doesn't work

I've tried both suggestions, to no avail...
I've also turned on the "Show all formatting marks" just in case I was wrong
about the empty spaces, and they was really there! I counted 13 dot marks
just between the first surname and his time.

I've also tried the ^s character (non-breaking space), just to receive the
same disappointing error message
  #12  
Old March 8th, 2008, 09:18 PM posted to microsoft.public.word.newusers
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Converet plain text to table

How very odd! Failing wild cards, you can always just search for two spaces
repeatedly until Find returns no results.

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

"geotso" wrote in message
...

That expression works in my copy of Word 2007, and it should work in
yours. If
you can't make it work, then try surrounding the space character (but not
the
{2,}) in square brackets:

[ ]{2,}


It definitely doesn't work

I've tried both suggestions, to no avail...
I've also turned on the "Show all formatting marks" just in case I was
wrong about the empty spaces, and they was really there! I counted 13 dot
marks just between the first surname and his time.

I've also tried the ^s character (non-breaking space), just to receive the
same disappointing error message



  #13  
Old March 8th, 2008, 09:19 PM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table

then, "Jay Freedman" climbed to the rostrum and said:
If you use a wildcard expression but forget to check the "Use wildcards" box, it
simply won't find anything. But if the box is checked and the expression isn't
correctly formed according to the wildcard rules, then you get a message box
saying that the search expression isn't valid. From geotso's post, I gathered
that he saw the message box.

I do see the message box, as you said, and I'm pretty sure I check the "use
wildcards" checkbox!
  #14  
Old March 8th, 2008, 09:39 PM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table

then, "Suzanne S. Barnhill" climbed to the rostrum and said:
How very odd! Failing wild cards, you can always just search for two spaces
repeatedly until Find returns no results.


As I said, I've counted 13 empty spaces just in the first row of the list.
Given that the list consists of 364 rows, could you please tell me how many
"two spaces repeatedly" should I found to complete the search?

Furthermore, the problem isn't just the amount of time I'll need for the
specific task. The problem is why the wildcards don't work for me, while
they do work for Jay and Suzanne?
  #15  
Old March 8th, 2008, 10:04 PM posted to microsoft.public.word.newusers
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Converet plain text to table

I would actually start by searching for 13 spaces. When all these have been
converted to tabs, search for 12 spaces, and so on. This should require only
a dozen passes.

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

"geotso" wrote in message
...
then, "Suzanne S. Barnhill" climbed to the rostrum and said:
How very odd! Failing wild cards, you can always just search for two
spaces
repeatedly until Find returns no results.


As I said, I've counted 13 empty spaces just in the first row of the list.
Given that the list consists of 364 rows, could you please tell me how
many "two spaces repeatedly" should I found to complete the search?

Furthermore, the problem isn't just the amount of time I'll need for the
specific task. The problem is why the wildcards don't work for me, while
they do work for Jay and Suzanne?



  #16  
Old March 8th, 2008, 11:46 PM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table

then, "Suzanne S. Barnhill" climbed to the rostrum and said:
I would actually start by searching for 13 spaces. When all these have been
converted to tabs, search for 12 spaces, and so on. This should require only
a dozen passes.


even so, WILDCARDS DON'T WORK...

(Sorry for I'm yelling, but I'm really mad right now!)


Following your suggestion I made these replacements:

Replace all spaces/tabs occurrences with the string "zzz" (no quotes).
So, I finally end up with something like this:

1. [name] [surname]zzzzzzzzzzzz[time]
2. [other name] [other surname]zzz[time]
3. [and so on]zzzzzzzzzzzzzzzzzz[time]

Then, I tried to replace z{3,} with ^t (and yes, the "use wildcards" was
checked*)...
Guess what?
The same ugly "invalid expression" message box!

The solution:
- Give up (or should I say through away?) Word and use UltraEdit Text Editor
instead!
  #17  
Old March 8th, 2008, 11:56 PM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table

- Give up (or should I say through away?)

ooops! it should be throw away!
Awful english - awful mood!
  #18  
Old March 9th, 2008, 01:02 AM posted to microsoft.public.word.newusers
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Converet plain text to table

No, for the search I'm describing, you don't need wildcards. Just search
(without wildcards) for 13 spaces and replace with a tab. Then search for 12
spaces and replace with a tab. Alternatively, if there are no spaces within
the names you want in separate cells, you can just search for ^w (white
space) and replace with ^t.

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

"geotso" wrote in message
...
then, "Suzanne S. Barnhill" climbed to the rostrum and said:
I would actually start by searching for 13 spaces. When all these have
been
converted to tabs, search for 12 spaces, and so on. This should require
only
a dozen passes.


even so, WILDCARDS DON'T WORK...

(Sorry for I'm yelling, but I'm really mad right now!)


Following your suggestion I made these replacements:

Replace all spaces/tabs occurrences with the string "zzz" (no quotes).
So, I finally end up with something like this:

1. [name] [surname]zzzzzzzzzzzz[time]
2. [other name] [other surname]zzz[time]
3. [and so on]zzzzzzzzzzzzzzzzzz[time]

Then, I tried to replace z{3,} with ^t (and yes, the "use wildcards" was
checked*)...
Guess what?
The same ugly "invalid expression" message box!

The solution:
- Give up (or should I say through away?) Word and use UltraEdit Text
Editor instead!



  #19  
Old March 9th, 2008, 09:02 AM posted to microsoft.public.word.newusers
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Converet plain text to table

Send me a sample of the document to the link on my web site so that I can
check that we are all singing from the same hymn sheet, however in the
meantime try a search for

([0-9]{1,}.)[ ]{1,}([A-Za-z]{1,})[ ]{1,}([A-Za-z]{1,})[ ^0160^t]{1,}([0-9])
replace with
\1^t\2^t\3^t\4

with the wildcard option set.

--

Graham Mayor - Word MVP

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




geotso wrote:
- Give up (or should I say through away?)


ooops! it should be throw away!
Awful english - awful mood!



  #20  
Old March 9th, 2008, 10:23 AM posted to microsoft.public.word.newusers
geotso[_2_]
external usenet poster
 
Posts: 56
Default Converet plain text to table

then, "Graham Mayor" climbed to the rostrum and said:
Send me a sample of the document to the link on my web site so that I can


you (and everyone) can get it from he http://geotso.com/sample.aspx

check that we are all singing from the same hymn sheet, however in the
meantime try a search for

([0-9]{1,}.)[ ]{1,}([A-Za-z]{1,})[ ]{1,}([A-Za-z]{1,})[ ^0160^t]{1,}([0-9])
replace with
\1^t\2^t\3^t\4

with the wildcard option set.

The same "invalid expression" message box
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.