When we have:

```
<img src="http://example.com/myimageurl.jpg" />
<img class="my-image-class" src="http://example.com/myimageurl2.jpg" />

```

With grep:

```
grep -Po '(?<=src=")[^"]*' filename

```

I goth both image urls.

Actually I need only the url of the image with the specific class "my-image-class".

How can I achieve that?

Thanks in advance!