C# Programming
01-26-2010, 01:20 PM
Hi, I need to strip out text from a big file and my condition is:
I need to strip out text from below
apple
red delicious
banana
riped banana
chives
fresh green chives
to below
'apple', 'red delicious'
'banana', 'riped banana'
'chives', 'fresh green chives'
so that i can enter each of them to database. I would really appreciate if you could please provide me a regex that could do this. thanks for your help!!!
I need to strip out text from below
apple
red delicious
banana
riped banana
chives
fresh green chives
to below
'apple', 'red delicious'
'banana', 'riped banana'
'chives', 'fresh green chives'
so that i can enter each of them to database. I would really appreciate if you could please provide me a regex that could do this. thanks for your help!!!