Codice PHP:
<img(.*?)src=('|\")([^>]*)(/upload/img/_thumbs)+(.*).(bmp|gif|jpeg|jpg|png)('|\")(.*?)> 
devi riverere la stringa $replacement però..