I have a sql file which is having lot of insert queries. is there any way to convert these insert queries to php arrays?
i dont want to insert these items directly to database. before inserting i want to filter lot of items from these
`INSERT INTO `products` (`p_id`, `p_name`, `p_parent`, `p_dependent`,`p_pid`) VALUES
(1, 'some', "some", '2', '1'),(1, 'some', "some", '2', '1'),(1, 'some', "some", '2', '1'),(1, 'some', "some", '2', '1')
is there any option in regex to convert these into array?