getting all data on one line? (remove breaks)
Posted: Sat Jun 04, 2005 1:05 am
i'm new to textpipe and so far i haven't been able to
find a solution to a (in my eyes not so difficult?) problem.
i have a .txt file containing multiple lines.
for getting them into my database, i need them
on one line, seperated by tabs. getting the tabs
there is no problem, i could even fix that in wordpipe.
example:
name: joop
year: 2000
age: 50
the layout is the same in every document (don't know
if that helps any )
now, i think i need multiple filters:
remove name:
remove year: ---> and replace it with a backspace or so ? and then a tab
remove age: ---> and remove the break before it here too, and then a tab
so it will look like this:
joop TAB 2000 TAB 50
can anyone help me with this...?
would save me 500 of manual db entrys (this is the only
missing link into getting all my records in the db)
thanks in advance!
find a solution to a (in my eyes not so difficult?) problem.
i have a .txt file containing multiple lines.
for getting them into my database, i need them
on one line, seperated by tabs. getting the tabs
there is no problem, i could even fix that in wordpipe.
example:
name: joop
year: 2000
age: 50
the layout is the same in every document (don't know
if that helps any )
now, i think i need multiple filters:
remove name:
remove year: ---> and replace it with a backspace or so ? and then a tab
remove age: ---> and remove the break before it here too, and then a tab
so it will look like this:
joop TAB 2000 TAB 50
can anyone help me with this...?
would save me 500 of manual db entrys (this is the only
missing link into getting all my records in the db)
thanks in advance!