How to form regular expression?

Good afternoon.
How to form regular application to such array you can pull the coordinates.
[3] => 17629,17629,"PONTOON, STATION",59.785067,30.627792,0,2,bus
[4] => 17630,17630,it KOLPINO,59.775908,30.653787,0,2,bus
For example I got an array
[0] => 59.785067
[1] => 30.627792
It would be just if the separator were simply a comma, but how to circumvent these quotes "" to the comma is not taken into account?

Thanks in advance!
June 10th 19 at 14:49
3 answers
June 10th 19 at 14:51
/((\d+?)\.(\d+?)),/.exec('17629,17629,"PONTOON, STATION",59.785067,30.627792,0,2,bus')
Thank you, it works. - nikita.Stracke commented on June 10th 19 at 14:54
June 10th 19 at 14:53
1. To do explode kzhdy element separator ,
2. To take 4 and 5 elements of the new array
Thought so too, but there is probably a special brilliant breakdown, especially when the title contains a comma) - nikita.Stracke commented on June 10th 19 at 14:56
June 10th 19 at 14:55

Find more questions by tags PHP