Page 1 of 1
replace a string
Posted: Tue Jun 30, 2009 6:27 am
by prashanth0626
hi
i have data like
1,10,8,4,"name","hobby"
in some data in d last word hobby there is a extra "
like dis
1,10,8,4,"name","hobby""
actually dis " come from database....
can i replace dis using regular expression?
so any double quote between dis " " can be replaceD?
Re: replace a string
Posted: Tue Jun 30, 2009 6:56 am
by prometheuzz
prashanth0626 wrote:hi
i have data like
1,10,8,4,"name","hobby"
in some data in d last word hobby there is a extra "
like dis
1,10,8,4,"name","hobby""
actually dis " come from database....
can i replace dis using regular expression?
so any double quote between dis " " can be replaceD?
A few things:
- it would be nice to acknowledge the fact you have read your the answer(s) others give you in your threads;
- could you try to use normal English words? By using those annoying SMS-like abbreviations, it makes your post(s) hard to read. Sentences end with a single dot, not an arbitrary number of them, and the start of a sentence begins with a capital;
- lastly, could you perhaps post what you have tried yourself to solve this? BY doing so, others answering your question(s) can then see how much regex you know and base their answer on that.
Thanks.
Re: replace a string
Posted: Tue Jun 30, 2009 6:57 am
by prometheuzz
--- removed accidental duplicate ---