Hi,

i have contents like this:

<div class="item">
<a href="/development/perch/resources/chrysanthemum-1-w800h600.jpg">
<img src="/development/perch/resources/chrysanthemum-1-w320h240.jpg"/>
<span>Continue This Way &raquo;</span>
</a>
</div>

I need to exctract pathes to both images. How should I use regular expressions to make this?

This is the simplest. There are some cases unmatched, if the code is different then you mentioned.

%<a href="(.*?)">%i
%<img src="(.*?)"/>%i
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.