Greetings, I can't find a regular expression so that preg_match_all would split the string into an array with the name of the parameter and its value. The current option correctly breaks the parameters, but they are broken entirely. What should the correct expression look like?
$row = 'top:223px;left:103px;font-weight: 300; text-transform: uppercase;font-family:Roboto Condensed;font-size:48px;white-space: nowrap;" data-ls="offsetxin:0;delayin:500;offsetxout:0;'; preg_match_all("/([\s\S]*?)*:([\s\S]*?);/", $row, $InnerContent);
explode()n't it easier to doexplode()and do without regular expressions? - teranexplode()will have to be done 2 times first;and then on:What is not very beautiful. Regular expression can be managed easier. - Happy_Cougar