<?php $str = '<test data-mopt-machin="pouet" data-design="05">'; $matches = []; preg_match('/data\-design=\"[\d]\"/', $str, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.