I am trying to work some magic, and match a string.
Not using default matching but something like this:
<?php
$string = 'data:1,2,3,4,5;data:4,6,8,2,3';
// magic
foreach($matches as $match){
echo $match;
}
?>
And this would echo this:
1,2,3,4,54,6,8,2,3
Is this possible?
1,2,3,4,54,6,8,2,3
? – Sumit Bijvani 5 mins agostr_replace
? – Sumit Bijvani 4 mins ago