J
John Fitzsimons
Hi,
I know some people here are very clever with text programs and regular
expressions etc. So here is my problem. The first two items of my
input text is....
0743202236
A MIND AT A TIME - TPB
LIVINE M
$26.95
0895948575
A WOMAN'S I CHING - TPB
STEIN Diane
$29.95
NYP
I want the end result to be something like........
0743202236, A MIND AT A TIME - TPB, LIVINE M, $26.95
0895948575, A WOMAN'S I CHING - TPB, STEIN Diane, $29.95,
NYP
Some of the problems to overcome are ;
(1) Each column can be a different width.
(2) The ISBN needs to be the first item on each line.
(3) The number of columns of info can change. The first is four for
example and the second is five.
My original may have thousands of items so I want to be able to
automate this.
My first thought was to change all carriage returns to something like
"," or ";" BUT with InfoRapid Search & Replace I tried that and only
one replacement was done. :-( Results were ...
Searched for
$
Replaced with
;
In Files
commas.txt
In Directories
C:\
Search Options
Pattern matching
Multiline search
Use internal converters
Use external converters
Matches found
1
Files found / total
1 / 1
Don't know what I did wrong. :-(
Any suggestions regarding the above task, anyone ? Method ? Software ?
Regards, John.
I know some people here are very clever with text programs and regular
expressions etc. So here is my problem. The first two items of my
input text is....
0743202236
A MIND AT A TIME - TPB
LIVINE M
$26.95
0895948575
A WOMAN'S I CHING - TPB
STEIN Diane
$29.95
NYP
I want the end result to be something like........
0743202236, A MIND AT A TIME - TPB, LIVINE M, $26.95
0895948575, A WOMAN'S I CHING - TPB, STEIN Diane, $29.95,
NYP
Some of the problems to overcome are ;
(1) Each column can be a different width.
(2) The ISBN needs to be the first item on each line.
(3) The number of columns of info can change. The first is four for
example and the second is five.
My original may have thousands of items so I want to be able to
automate this.
My first thought was to change all carriage returns to something like
"," or ";" BUT with InfoRapid Search & Replace I tried that and only
one replacement was done. :-( Results were ...
Searched for
$
Replaced with
;
In Files
commas.txt
In Directories
C:\
Search Options
Pattern matching
Multiline search
Use internal converters
Use external converters
Matches found
1
Files found / total
1 / 1
Don't know what I did wrong. :-(
Any suggestions regarding the above task, anyone ? Method ? Software ?
Regards, John.