I have what seems like quite a simple query. I have the following code in PHP:
$newThumb = str_replace('style="width:170px;"','',$nolinkThumb);
The problem that I have is that the number '170' can be any number therefore I would like my str_replace to reflect this. I have tried using:
$newThumb = str_replace('style="width:[0-9]px;"','',$nolinkThumb);
But this doesn't work. Any help would be greatly appreciated.
Thank you