I'm trying to obtain two values with php regex in this kind of strings:
bla bla bla
Measures: 10,4 cm x 9 cm.
bla bla bla
Results:
1: 10,4 (note: decimal values with comma)
2: 9
The pattern Measures: X cm x Y cm.
is always the same.
I was trying: '@^(?:Measures: )?([^.]+)@' but I can't improve it to obtain the first and second values.
Thank you very much!