I need a simple ereg_replace statement written. I hate writing regular expressions.
I have a script that uploads a CSV file. When it reads a line and comes across a column value that contains a comma, it gets messed up when I explode the string. Example, lets say that the first line in the CSV file is:
tony,10-27-70,webdesigner,"2,000","And I said, Hello",charlotte,
the value in column 4 and 5 contains a comma and escaped by double quotes.
I need a regex that will remove the commas and the double quotes so it looks like this:
tony,10-27-70,webdesigner,2000,And I said Hello,charlotte,
Now when I use explode(",",$string) It will work right.
11 freelance font une offre moyenne de $32 pour ce travail
Hi, I can write this regex for you. Please, note: I have 600+ completed projects via "[url removed, login to view]" type sites.
Thanks for taking the time to review our bid At MXicoders. We specialize in providing total e-commerce, e-business and branding solutions to small and medium size business worldwide. We are selective about the jobs Plus
Hi, Sir, I've done this for you. If you select me, you will get it immediately. Thanks for providing this simple project.