I am trying to return the numbers from a string as separate integers. The string has the following markup:
$string = "20 x 20 cm";
The number 20 could be a larger number as well. e.g. 70 x 93 cm or 120 x 230 cm, so it isn't always equal to each other.
I've read about Preg_Match, but couldn't figure it out. So now I'm here asking for your help.
Thanks in advance!