I wrote regular expresion that allow to select images and separate it by parts. Here is it example. Generally it works without any problem, but i found that regular expression work incorrect if multiple images go after each other. How can i fix this problem?
Regex
<img(.*?)src=(?:'|")((?:.*?)\.(?:gif))(?:'|")(.*?)\/?>