I need to replace \" from image src.
I have one form and i use the FCK editor for Details and when i upload image and submit a form then after i get below value in post
<img scr="\"http://test.in/public/admin/uploadfiles/Lighthouse(2).jpg\"">
So i need to remove \" from starting and \" from end
so its display properly to me.
I also try ltrim() and strreplace()
but when i put some other things then it replace each place so i need to replace it only in img scr must start and end \" only
Any why to do this. I think this is possible using Regular expression but i have not enough knowledge for it.
Please suggest me any idea.