Hi all!
I am looking for a function to delete all the parts of a string which are not:
1) numbers
2) the character " "
3) the character "-"
For example:
$string = " -2pp)*&?>/>::hh 00-";
From that string I need just:
$final_string=" -2 00-";
I am not very good at regular expressions, but I know the can help in this case. Do you have any ideas...?😕