I got the following line:
ElFTkSuQmCC" alt="" width="auto" height="auto" /></td>
<td style="padding: 10px;">XX,X%</t
And I want to have "XX, X", so I am building the following regular expression:
/QmCC" alt="" width="auto" height="auto" \/><\/td>\n<td style="padding: 10px;">(.*?)%/
I tested it online and got a match for XX, X, but when I try to execute it in php with the following code
preg_match_all('/REGEX/',$string,$match);
This did not match. Do you have any suggestions? The string is definitely there. var_dump($match)
gives me an empty array.
Thanks!
source
share