This is for analyzing a string… in need to explode a string to get all chars. Basically:
$string = "This is (1990-2002) some, text [after] this.";
What do i need to do to get this:
$string = "This is ( 1990 - 2002 ) some , text [ after ] this .";
This can be something like:
$string = str_replace('','',$string);
Note: It is not a problem if double spaces get inserted ill remove it…
try this: