after import how can remove I this tags with impex cleaner.php

Code:
width='420' height='314'[/img]
this code doesn't work

Code:
$text = preg_replace('/\width='(.*?)'\
...