<?php $testString = "\\;\\3;4;5"; $digits = preg_replace("/[^0-9]/", "", $testString); $arr = str_split($digits,1); $string = implode(',',$arr); echo $string; ?>
You have javascript disabled. You will not be able to edit any code.