I have a string that contains an image in html format. Ie..

```
<img title="imagetitle1" src="www.example.com/image1.gif" height="420" width="340" />

```

I need to strip everything from it with the exception of the url of the src. Since we don't know what the title will be and thus cannot use `str_replace`, how do we do this.