<?php $matches = array(); preg_match('/^(.*)-ean-(\d+)-(\w+)$/', '2in1-muurverf-badkamer-en-keuken-schimmelbestendig-ean-8710839146009-highres.jpg', $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.